path: root/src/widgets/dialogs/qfiledialog.ui
diff options
authorGiuseppe D'Angelo <>2014-11-03 15:14:46 +0100
committerGiuseppe D'Angelo <>2014-11-03 18:28:45 +0100
commitd8b45a360f99149c42863067e3b40c619a892cd2 (patch)
treecdc98e4ba145ec500d9e2ae49c869f77aedaa9de /src/widgets/dialogs/qfiledialog.ui
parent305f755d4b8d180ea2a4b40565bc327e550af5c5 (diff)
QFileDialog: prevent section collapsing in the main selection area
In the non-native QFileDialog, a QSplitter separates the two central views (the list view of "places" and the tree view for navigating the file system). Unfortunately, that splitter allows sections to be collapsed, resulting in a weird status where the user doesn't understand what has just happened and thinks that (s)he may have broken something. Worse, that gets actually saved into the application settings, so the splitter may stay collapsed forever. Instead, let's simply prevent sections from being collapsible. Task-number: QTBUG-19467 Change-Id: I11ff7c55a5535680a3edce5f4e70c9338291b94f Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog.ui')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/dialogs/qfiledialog.ui b/src/widgets/dialogs/qfiledialog.ui
index 89adaf530e..7f6e59c908 100644
--- a/src/widgets/dialogs/qfiledialog.ui
+++ b/src/widgets/dialogs/qfiledialog.ui
@@ -179,6 +179,9 @@
<property name="orientation">
+ <property name="childrenCollapsible">
+ <bool>false</bool>
+ </property>
<widget class="QSidebar" name="sidebar">
<property name="accessibleName">