Permalink
Browse files

Quick change to the mounttray filemanager startup command to see if i…

…t fixes the KDE/dolphin startup bug
  • Loading branch information...
Ken Moore
Ken Moore committed Aug 6, 2013
1 parent e6d5635 commit d5ff236500ced6c72a79019ce7a6c6032d33079e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-mounttray/mountTray.cpp
@@ -310,7 +310,7 @@ void MountTray::openMediaDir(QString dir){
}
//Open the default file manager to the given directory as that user
qDebug() << "Opening the media directory with user permissions";
- QString cmd = "su -m "+USERNAME+" -c \'"+FILEMAN+" "+dir+"\' &";
+ QString cmd = "su -m "+USERNAME+" -c \'"+FILEMAN+" \""+dir+"\"\' &";
if(DEBUG_MODE){ qDebug() << " -cmd:" << cmd; }
system( cmd.toUtf8() );
}

0 comments on commit d5ff236

Please sign in to comment.