summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 21:06:31 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 21:06:31 +0900
commit9c90d6790a9cb38521beaedaffd1e847784b4088 (patch)
tree631948a983edc974568bdbaeccfd0d1ac42d65fd /qt-ui/mainwindow.cpp
parented41d5a74490b9af03ece57015d6867bbf00df14 (diff)
downloadsubsurface-9c90d6790a9cb38521beaedaffd1e847784b4088.tar.gz
Fix some random compiler warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 3222d4887..a03104b6c 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -566,7 +566,6 @@ bool MainWindow::askSaveChanges()
void MainWindow::initialUiSetup()
{
QSettings settings;
- int i;
settings.beginGroup("MainWindow");
QSize sz = settings.value("size", qApp->desktop()->size()).value<QSize>();
resize(sz);
@@ -641,7 +640,6 @@ void MainWindow::readSettings()
void MainWindow::writeSettings()
{
- int i;
QSettings settings;
settings.beginGroup("MainWindow");