aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-28 06:58:05 -0400
committerKen Moore <moorekou@gmail.com>2015-08-28 06:58:05 -0400
commit3c717c5aa3fa5685af3d095167b77ff9efc4e6f5 (patch)
treeede7e76efd2b2a1082ae65b360ac50158d53007c
parentAnother small update for lumina-fm: when re-loading a directory (or switching... (diff)
downloadlumina-3c717c5aa3fa5685af3d095167b77ff9efc4e6f5.tar.gz
lumina-3c717c5aa3fa5685af3d095167b77ff9efc4e6f5.tar.bz2
lumina-3c717c5aa3fa5685af3d095167b77ff9efc4e6f5.zip
A couple other minor (not-noticable) changes 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