summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index d3a8e0ae..89f7e0a4 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -58,8 +58,8 @@ std::string ModeListModel::getElementAt(int i) {
return modes[i].desc;
}
-Setup::Setup(gcn::Container *parent)
- : Window(parent, "Setup")
+Setup::Setup():
+ Window("Setup")
{
modeListModel = new ModeListModel();
displayLabel = new gcn::Label("Display settings");
@@ -174,7 +174,7 @@ void Setup::action(const std::string& eventId)
Setup *Setup::ptr = NULL;
Setup *Setup::create_setup() {
if (ptr == NULL) {
- ptr = new Setup(guiTop);
+ ptr = new Setup();
}
else {
ptr->setVisible(true);