summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-04 21:41:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-04 21:41:49 (GMT)
commitd18f20669671991825230fe956acd472cca999fc (patch)
tree1b518a83909ffb93fd49f051af6ee6512b41181b /Swift/QtUI/QtUIFactory.cpp
parent76cffe6bf98c95af728d01e015d2ee767e1eabc6 (diff)
downloadswift-d18f20669671991825230fe956acd472cca999fc.zip
swift-d18f20669671991825230fe956acd472cca999fc.tar.bz2
Cleaned up some unused code.
Diffstat (limited to 'Swift/QtUI/QtUIFactory.cpp')
-rw-r--r--Swift/QtUI/QtUIFactory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUIFactory.cpp b/Swift/QtUI/QtUIFactory.cpp
index 953d658..35dc4ea 100644
--- a/Swift/QtUI/QtUIFactory.cpp
+++ b/Swift/QtUI/QtUIFactory.cpp
@@ -51,12 +51,14 @@ LoginWindow* QtUIFactory::createLoginWindow(UIEventStream* eventStream) {
}
connect(systemTray, SIGNAL(clicked()), loginWindow, SLOT(bringToFront()));
+#ifndef SWIFT_MOBILE
QVariant loginWindowGeometryVariant = settings->getQSettings()->value("loginWindowGeometry");
if (loginWindowGeometryVariant.isValid()) {
loginWindow->restoreGeometry(loginWindowGeometryVariant.toByteArray());
}
connect(loginWindow, SIGNAL(geometryChanged()), this, SLOT(handleLoginWindowGeometryChanged()));
if (startMinimized) loginWindow->hide();
+#endif
return loginWindow;
}