summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-19 11:46:44 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-12-19 11:46:44 (GMT)
commite8b2e33a6fc569af116a32ebb5e441728e390c8f (patch)
treed2128425b185734efb9c3482b07f974e9ed90523 /Swift/QtUI/QtUIFactory.h
parent92b024be81133682658dcd4a044286e4df3ef01a (diff)
downloadswift-e8b2e33a6fc569af116a32ebb5e441728e390c8f.zip
swift-e8b2e33a6fc569af116a32ebb5e441728e390c8f.tar.bz2
Calling with --start-minimized will not show login/roster at launch.
Release-Notes: Launching Swift with the --start-minimized command-line parameter will cause the initial login/roster window to not be displayed (it starts minimized to tray).
Diffstat (limited to 'Swift/QtUI/QtUIFactory.h')
-rw-r--r--Swift/QtUI/QtUIFactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtUIFactory.h b/Swift/QtUI/QtUIFactory.h
index e06b411..7f610a2 100644
--- a/Swift/QtUI/QtUIFactory.h
+++ b/Swift/QtUI/QtUIFactory.h
@@ -24,7 +24,7 @@ namespace Swift {
class QtUIFactory : public QObject, public UIFactory {
Q_OBJECT
public:
- QtUIFactory(QtSettingsProvider* settings, QtChatTabs* tabs, QSplitter* netbookSplitter, QtSystemTray* systemTray, QtChatWindowFactory* chatWindowFactory);
+ QtUIFactory(QtSettingsProvider* settings, QtChatTabs* tabs, QSplitter* netbookSplitter, QtSystemTray* systemTray, QtChatWindowFactory* chatWindowFactory, bool startMinimized);
virtual XMLConsoleWidget* createXMLConsoleWidget();
virtual MainWindow* createMainWindow(UIEventStream* eventStream);
@@ -45,5 +45,6 @@ namespace Swift {
QtChatWindowFactory* chatWindowFactory;
QtMainWindow* lastMainWindow;
QtLoginWindow* loginWindow;
+ bool startMinimized;
};
}