summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-30 02:04:39 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-30 02:04:39 +0000
commit093d95683bfcbbff6e0ddd87414e2cd723f17dc9 (patch)
treec6d07ce0bb312c7e4d7e165ee5c1cb348a6e44fa /src/gui/setup.cpp
parent69ccb03b44f324f17d02b9e27e71c34850f71139 (diff)
downloadmana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.gz
mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.bz2
mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.xz
mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.zip
A few cleanups and simplifications.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 34f5b360..cbb9d599 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -314,8 +314,8 @@ void Setup::action(const std::string &eventId)
}
}
} else {
- new OkDialog(this, "Switching to FullScreen",
- "Restart needed for changes to take effect.");
+ new OkDialog("Switching to FullScreen",
+ "Restart needed for changes to take effect.", NULL, this);
}
config.setValue("screen", fullscreen ? 1 : 0);
}
@@ -329,7 +329,7 @@ void Setup::action(const std::string &eventId)
}
catch (const char *err)
{
- new OkDialog(this, "Sound Engine", err);
+ new OkDialog("Sound Engine", err, NULL, this);
logger->log("Warning: %s", err);
}
}
@@ -345,8 +345,8 @@ void Setup::action(const std::string &eventId)
config.setValue("opengl", openGLCheckBox->isMarked() ? 1 : 0);
// OpenGL can currently only be changed by restarting, notify user.
- new OkDialog(this, "Changing OpenGL",
- "Applying change to OpenGL requires restart.");
+ new OkDialog("Changing OpenGL",
+ "Applying change to OpenGL requires restart.", NULL, this);
}
// We sync old and new values at apply time