summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-13 17:40:52 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 21:24:49 +0900
commit942c8632ded0d760f53918ef84e57dd599fe8804 (patch)
treec2df73b1b9bd7105d06fa688049d9e5215375292
parent69969301106039de96f323d593818e3923d9ecd1 (diff)
downloadsubsurface-942c8632ded0d760f53918ef84e57dd599fe8804.tar.gz
Code Cleanup - Removed unused var.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp3
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 );
}