diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index a03104b6c..3fe6d23e6 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -120,9 +120,6 @@ void MainWindow::on_actionOpen_triggered() settings.setValue("LastDir",fileInfo.dir().path()); settings.endGroup(); - // Needed to convert to char* - QByteArray fileNamePtr = filename.toLocal8Bit(); - on_actionClose_triggered(); loadFiles( QStringList() << filename ); } |