Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable a bit more debugging output for the mount tray if debug mode i…

…s enabled
  • Loading branch information...
commit 9d167cc732862d87a099bd17a59d900e31516bea 1 parent ecf5153
@beanpole135 beanpole135 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-qt4/pc-mounttray/mountTray.cpp
View
4 src-qt4/pc-mounttray/mountTray.cpp
@@ -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() );
}
Please sign in to comment.
Something went wrong with that request. Please try again.