Fixed a bug in restore functionality that caused application crash, added initial support for perspectives

This commit is contained in:
Uwe Kindler
2018-02-13 12:00:58 +01:00
parent 805e97946e
commit 8a401ebd68
11 changed files with 517 additions and 226 deletions

View File

@@ -1,3 +1,4 @@
#include <MainWindow.h>
#include <QString>
#include <QFile>
#include <QApplication>
@@ -5,7 +6,6 @@
#include <memory>
#include "mainwindow.h"
void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg)
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
qInstallMessageHandler(myMessageOutput);
qDebug() << "Message handler test";
MainWindow mw;
CMainWindow mw;
mw.show();
return a.exec();
}