diff options
author | Marius Kintel <marius@kintel.net> | 2013-10-04 03:21:26 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-10-04 03:21:26 (GMT) |
commit | 7273e5b5a967b5625a813f34cda7b2a8382ba4d0 (patch) | |
tree | c84f3a72e99370ab70b075a9a3929060bf97a8a2 /src/mainwin.cc | |
parent | 204b3de3a0a069a56ae0f31f3a2cf08ed4ed5efd (diff) |
Make recent examplesdir changws work for MDI mode
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index ea7da66..65c511f 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -104,6 +104,7 @@ // Global application state unsigned int GuiLocker::gui_locked = 0; +QString MainWindow::qexamplesdir; #define QUOTE(x__) # x__ #define QUOTED(x__) QUOTE(x__) @@ -153,7 +154,7 @@ settings_valueList(const QString &key, const QList<int> &defaultList = QList<int } -MainWindow::MainWindow(const QString &filename, const QString &examplesdir) +MainWindow::MainWindow(const QString &filename) : root_inst("group"), progresswidget(NULL) { setupUi(this); @@ -166,7 +167,6 @@ MainWindow::MainWindow(const QString &filename, const QString &examplesdir) top_ctx.registerBuiltin(); - this->qexamplesdir = examplesdir; this->openglbox = NULL; root_module = NULL; absolute_root_node = NULL; |