summaryrefslogtreecommitdiffstats
path: root/src/library/browse/foldertreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/browse/foldertreemodel.cpp')
-rw-r--r--src/library/browse/foldertreemodel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library/browse/foldertreemodel.cpp b/src/library/browse/foldertreemodel.cpp
index b8081529dc..a763136b48 100644
--- a/src/library/browse/foldertreemodel.cpp
+++ b/src/library/browse/foldertreemodel.cpp
@@ -39,11 +39,13 @@ bool FolderTreeModel::hasChildren(const QModelIndex& parent) const {
* However, for, buid-in items such as 'Quick Links' there exist
* child items at init time
*/
- if(item->getData().toString() == QUICK_LINK_NODE)
+ if (item->getData().toString() == QUICK_LINK_NODE) {
return true;
+ }
//Can only happen on Windows
- if(item->getData().toString() == DEVICE_NODE)
+ if (item->getData().toString() == DEVICE_NODE) {
return true;
+ }
// In all other cases the getData() points to a folder
QString folder = item->getData().toString();