summaryrefslogtreecommitdiffstats
path: root/examples/uml/duse-mt/src/app/shell/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uml/duse-mt/src/app/shell/mainwindow.cpp')
-rw-r--r--examples/uml/duse-mt/src/app/shell/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/uml/duse-mt/src/app/shell/mainwindow.cpp b/examples/uml/duse-mt/src/app/shell/mainwindow.cpp
index 76e06eda..19205793 100644
--- a/examples/uml/duse-mt/src/app/shell/mainwindow.cpp
+++ b/examples/uml/duse-mt/src/app/shell/mainwindow.cpp
@@ -45,6 +45,7 @@
#include "ui_newmodel.h"
#include <QtCore/QTimer>
+#include <QtCore/QDebug>
#include <QtCore/QSettings>
#include <QtCore/QJsonArray>
#include <QtCore/QJsonObject>
@@ -140,7 +141,7 @@ void MainWindow::on_actionFileOpenModel_triggered()
QMessageBox::critical(this, tr("Open model"), ICore::self()->projectController()->errorStrings().first());
return;
}
- setWindowTitle(QFileInfo(QFile(fileName)).fileName() + " - DuSE-MT");
+ setWindowTitle(QFileInfo(fileName).fileName() + " - DuSE-MT");
// _currentFileName = fileName;
//// foreach (QWrappedObject *object, _inputModel)