diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-04 21:41:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-04 21:41:49 (GMT) |
commit | d18f20669671991825230fe956acd472cca999fc (patch) | |
tree | 1b518a83909ffb93fd49f051af6ee6512b41181b /Swift/QtUI/QtUIFactory.cpp | |
parent | 76cffe6bf98c95af728d01e015d2ee767e1eabc6 (diff) | |
download | swift-d18f20669671991825230fe956acd472cca999fc.zip swift-d18f20669671991825230fe956acd472cca999fc.tar.bz2 |
Cleaned up some unused code.
Diffstat (limited to 'Swift/QtUI/QtUIFactory.cpp')
-rw-r--r-- | Swift/QtUI/QtUIFactory.cpp | 2 |
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; } |