diff options
author | Marius Kintel <marius@kintel.net> | 2013-10-04 07:20:03 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-10-04 07:20:03 (GMT) |
commit | 0404a921af67a05f236f9f846243d4ffb1f74474 (patch) | |
tree | 132607d2cbf85b9c42a35993d6d44d2c443f8bcc /src/MainWindow.h | |
parent | 94070f7b51e54f64d977be90339c77521705b444 (diff) | |
parent | 5ed3e28b7a2e3eccb084cd582e4148a7aebb3b86 (diff) |
Merge pull request #499 from openscad/issue480
Issue480
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 79e2080..4f88fbf 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -54,6 +54,7 @@ public: std::vector<shared_ptr<CSGTerm> > background_terms; CSGChain *background_chain; QString last_compiled_doc; + static QString qexamplesdir; static const int maxRecentFiles = 10; QAction *actionRecentFile[maxRecentFiles]; @@ -134,6 +135,7 @@ private slots: void actionFlushCaches(); public: + static void setExamplesDir(const QString &dir) { MainWindow::qexamplesdir = dir; } void viewModeActionsUncheck(); void setCurrentOutput(); void clearCurrentOutput(); @@ -201,7 +203,7 @@ public: static void unlock() { gui_locked--; } private: - static unsigned int gui_locked; + static unsigned int gui_locked; }; #endif |