diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-09-20 05:19:09 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-09-20 05:19:09 (GMT) |
commit | 3eda281be13dfe9eb8fcbc9fb82e75e74d107e01 (patch) | |
tree | 724d309fa18aaa329bdf84757066e1254f842437 /src/MainWindow.h | |
parent | 2e21f3deff585731d5377490cde87eeccd917445 (diff) |
allow openscad binary to be compiled with or without QT. use non-QT for tests.
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 79e2080..46a2996 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -54,11 +54,12 @@ public: std::vector<shared_ptr<CSGTerm> > background_terms; CSGChain *background_chain; QString last_compiled_doc; + QString qexamplesdir; static const int maxRecentFiles = 10; QAction *actionRecentFile[maxRecentFiles]; - MainWindow(const QString &filename); + MainWindow(const QString &filename, const QString &examplesdir); ~MainWindow(); protected: |