diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-12-19 11:46:44 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-12-19 11:46:44 (GMT) |
commit | e8b2e33a6fc569af116a32ebb5e441728e390c8f (patch) | |
tree | d2128425b185734efb9c3482b07f974e9ed90523 /Swift/QtUI/QtUIFactory.h | |
parent | 92b024be81133682658dcd4a044286e4df3ef01a (diff) | |
download | swift-contrib-e8b2e33a6fc569af116a32ebb5e441728e390c8f.zip swift-contrib-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.h | 3 |
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; }; } |