summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2018-05-09 13:23:40 (GMT)
committerTobias Markmann <tm@ayena.de>2018-05-09 15:44:38 (GMT)
commit8fab33012e5ac7c03ab00ec30118dcb2c5218051 (patch)
treeb9288b404ad40f0759c05848538b4a89bd51af39 /Swift/QtUI/QtSingleWindow.cpp
parentb616c9986a45b5090f23e2cb4b561eda044f676b (diff)
downloadswift-8fab33012e5ac7c03ab00ec30118dcb2c5218051.zip
swift-8fab33012e5ac7c03ab00ec30118dcb2c5218051.tar.bz2
Remove ability to hide rosters via QSplitter
Previously, you could move the QSplitter slider all to one side and thereby hide the account and MUC rosters. However, these splitters can be hard to get back their previous positions. Test-Information: Verified in Swift that you can not hide/collapse the roster in the UI anymore on macOS 10.13.4. Change-Id: If6622684feb47e5b4172405fe15c3a90178d7b9d
Diffstat (limited to 'Swift/QtUI/QtSingleWindow.cpp')
-rw-r--r--Swift/QtUI/QtSingleWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSingleWindow.cpp b/Swift/QtUI/QtSingleWindow.cpp
index 5956172..2e88968 100644
--- a/Swift/QtUI/QtSingleWindow.cpp
+++ b/Swift/QtUI/QtSingleWindow.cpp
@@ -24,7 +24,7 @@ QtSingleWindow::QtSingleWindow(QtSettingsProvider* settings) : QSplitter() {
}
connect(this, SIGNAL(splitterMoved(int, int)), this, SLOT(handleSplitterMoved(int, int)));
restoreSplitters();
-
+ setChildrenCollapsible(false);
#ifdef SWIFTEN_PLATFORM_MACOSX
setHandleWidth(0);
#endif