aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lumina-fm/MainUI.cpp1
-rw-r--r--lumina-fm/MainUI.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp
index 36c756d9..6a7f9b74 100644
--- a/lumina-fm/MainUI.cpp
+++ b/lumina-fm/MainUI.cpp
@@ -110,6 +110,7 @@ MainUI::~MainUI(){
}
void MainUI::OpenDirs(QStringList dirs){
+ //Now open the dirs
if(dirs.isEmpty()){ dirs << QDir::homePath(); }
QStringList invalid;
for(int i=0; i<dirs.length(); i++){
diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h
index 3c082de2..bec38249 100644
--- a/lumina-fm/MainUI.h
+++ b/lumina-fm/MainUI.h
@@ -102,6 +102,7 @@ private slots:
void slotSingleInstance(QStringList in){
this->show();
this->raise();
+ this->activateWindow();
this->OpenDirs(in);
}
bgstack15