diff --git a/src/mainwindow.h b/src/mainwindow.h --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -62,8 +62,7 @@ public: PlotViewSettings viewSettings() const; - void messageHandler(QtMsgType type, const QMessageLogContext &context, - const QString &msg); + void messageHandler(QtMsgType type, const QString &logString, const QString &msg); private: Ui::MainWindow *ui; @@ -93,6 +92,8 @@ private: DataTextView textView; UpdateCheckDialog updateCheckDialog; + void handleCommandLineOptions(const QCoreApplication &app); + /// Returns true if demo is running bool isDemoRunning(); /// Display a secondary plot in the splitter, removing and