Permalink
Browse files

Fix the xdg-open interaction in the appcafe - it needs to be QProcess…

…::execute(cmd) instead of QProcess::startDetached(cmd) in order to let the new process have access to all the current environment variables.
  • Loading branch information...
1 parent 03c14f8 commit 4ba4baf8bbd56e0e0454f1dcde02915755ccf547 Ken committed Sep 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-softwaremanager/mainUI.cpp
@@ -454,7 +454,7 @@ void MainUI::slotStartApp(QAction* act){
QString desktopfile = act->whatsThis();
QString cmd = "xdg-open "+desktopfile;
//Startup the command externally
- QProcess::startDetached(cmd);
+ QProcess::execute(cmd);
}
void MainUI::slotUpdateSelectedPBI(bool statusonly){

0 comments on commit 4ba4baf

Please sign in to comment.