From 942c8632ded0d760f53918ef84e57dd599fe8804 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 13 Nov 2013 17:40:52 -0200 Subject: Code Cleanup - Removed unused var. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'qt-ui') 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 ); } -- cgit v1.2.3-70-g09d2