Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Enable a bit more debugging output for the mount tray if debug mode i…
Browse files Browse the repository at this point in the history
…s enabled
  • Loading branch information
Ken Moore committed Jun 18, 2013
1 parent ecf5153 commit 9d167cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-qt4/pc-mounttray/mountTray.cpp
Expand Up @@ -329,9 +329,9 @@ void MountTray::openMediaDir(QString dir){
return;
}
//Open the default file manager to the given directory as that user
qDebug() << "Opening the file manager with user permissions";
qDebug() << "Opening the media directory with user permissions";
QString cmd = "su -m "+USERNAME+" -c \'"+FILEMAN+" "+dir+"\' &";
//qDebug() << cmd;
if(DEBUG_MODE){ qDebug() << " -cmd:" << cmd; }
system( cmd.toUtf8() );
}

Expand Down

0 comments on commit 9d167cc

Please sign in to comment.