aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/MainUI.cpp4
-rw-r--r--lumina-fm/widgets/DDListWidgets.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp
index deaac818..9d921b7c 100644
--- a/lumina-fm/MainUI.cpp
+++ b/lumina-fm/MainUI.cpp
@@ -148,7 +148,9 @@ void MainUI::OpenDirs(QStringList dirs){
tabBar->setCurrentIndex(index);
}else if(tabBar->count()<1){
//Need to create the generic Browser tab
-
+ int index = tabBar->addTab( LXDG::findIcon("folder-open",""), "Browser" );
+ tabBar->setTabWhatsThis( index, "browser" );
+ tabBar->setCurrentIndex(index);
}
//Initialize the widget with the proper settings
diff --git a/lumina-fm/widgets/DDListWidgets.h b/lumina-fm/widgets/DDListWidgets.h
index d62a0a5d..c211206b 100644
--- a/lumina-fm/widgets/DDListWidgets.h
+++ b/lumina-fm/widgets/DDListWidgets.h
@@ -39,6 +39,7 @@ public:
this->setFlow(QListView::TopToBottom);
this->setWrapping(true);
this->setMouseTracking(true);
+ //this->setSortingEnabled(true); //This sorts *only* by name - type is not preserved
}
~DDListWidget(){}
bgstack15