summaryrefslogtreecommitdiff
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2014-02-16 19:56:04 (GMT)
committerJan Huwald <jh@sotun.de>2014-02-16 19:56:04 (GMT)
commit7de7b1618c85d21d3f737d0981f8ae3784ac1036 (patch)
tree6a1cdfe882f7ff764a78c27ac4a18a9cf4865c0d /src/MainWindow.h
parent8f87168174e6c883260d613494082ffe791c767e (diff)
allow writing to standard output from command line, update output handler to lambda
- cmdline can output to a file or cout - output handler uses lambda instead of function pointer - this allows removing Echostream with a one-liner
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index bc98e21..b6b8bfe 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -85,7 +85,7 @@ private:
bool maybeSave();
bool checkEditorModified();
QString dumpCSGTree(AbstractNode *root);
- static void consoleOutput(const std::string &msg, void *userdata);
+ void consoleOutput(const std::string &msg);
void loadViewSettings();
void loadDesignSettings();
void saveBackup();
contact: Jan Huwald // Impressum