summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2013-03-24 10:03:46 (GMT)
committerKevin Smith <git@kismith.co.uk>2013-03-24 10:03:46 (GMT)
commit99063cc6e9168bf88d6c245d1f8bac02bd898c3d (patch)
tree9ee941b9c02b34a12f1cecf0a30b74eac7c9ccfb /Swift/QtUI/QtChatTabs.h
parentb04ff6d3f9c4496d5667e4681e6820e708ba409a (diff)
downloadswift-99063cc6e9168bf88d6c245d1f8bac02bd898c3d.zip
swift-99063cc6e9168bf88d6c245d1f8bac02bd898c3d.tar.bz2
Don't hide the tabset if in single window mode
Change-Id: I91272f94258a49c9626cf3130bfbf2838a434e9b
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r--Swift/QtUI/QtChatTabs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h
index 35f426b..f9cd685 100644
--- a/Swift/QtUI/QtChatTabs.h
+++ b/Swift/QtUI/QtChatTabs.h
@@ -17,7 +17,7 @@ namespace Swift {
class QtChatTabs : public QWidget {
Q_OBJECT
public:
- QtChatTabs();
+ QtChatTabs(bool singleWindow);
void addTab(QtTabbable* tab);
void minimise();
QtTabbable* getCurrentTab();
@@ -45,6 +45,7 @@ namespace Swift {
private:
void checkForFirstShow();
QtTabWidget* tabs_;
+ bool singleWindow_;
};
}