diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-03-24 10:03:46 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2013-03-24 10:03:46 (GMT) |
commit | 99063cc6e9168bf88d6c245d1f8bac02bd898c3d (patch) | |
tree | 9ee941b9c02b34a12f1cecf0a30b74eac7c9ccfb /Swift/QtUI/QtSwift.cpp | |
parent | b04ff6d3f9c4496d5667e4681e6820e708ba409a (diff) | |
download | swift-99063cc6e9168bf88d6c245d1f8bac02bd898c3d.zip swift-99063cc6e9168bf88d6c245d1f8bac02bd898c3d.tar.bz2 |
Don't hide the tabset if in single window mode
Change-Id: I91272f94258a49c9626cf3130bfbf2838a434e9b
Diffstat (limited to 'Swift/QtUI/QtSwift.cpp')
-rw-r--r-- | Swift/QtUI/QtSwift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp index 515c83f..b44ee2f 100644 --- a/Swift/QtUI/QtSwift.cpp +++ b/Swift/QtUI/QtSwift.cpp @@ -156,7 +156,7 @@ QtSwift::QtSwift(const po::variables_map& options) : networkFactories_(&clientMa Log::setLogLevel(Swift::Log::debug); } - tabs_ = options.count("no-tabs") && !splitter_ ? NULL : new QtChatTabs(); + tabs_ = options.count("no-tabs") && !splitter_ ? NULL : new QtChatTabs(splitter_ != NULL); bool startMinimized = options.count("start-minimized") > 0; applicationPathProvider_ = new PlatformApplicationPathProvider(SWIFT_APPLICATION_NAME); storagesFactory_ = new FileStoragesFactory(applicationPathProvider_->getDataDir()); |