Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure the AppCafe starts applications with "startDetached" instea…

…d of "execute". This should make sure that the new application instance is completely independent of the AppCafe process. Also make sure that warning boxes are displayed with "show" instead of "exec", that way the main GUI can also continue running in the background (great for multiple app scheduled for install but one runs into a problem).
  • Loading branch information...
commit 78469f9d1e58cb65483e49725c56eef5e332ef0d 1 parent f0d1327
@beanpole135 beanpole135 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-qt4/pc-softwaremanager/mainUI.cpp
View
4 src-qt4/pc-softwaremanager/mainUI.cpp
@@ -664,7 +664,7 @@ void MainUI::slotStartApp(QAction* act){
QString desktopfile = act->whatsThis();
QString cmd = "xdg-open "+desktopfile;
//Startup the command externally
- QProcess::execute(cmd);
+ QProcess::startDetached(cmd);
}
void MainUI::slotUpdateSelectedPBI(){
@@ -1232,7 +1232,7 @@ void MainUI::slotDisplayError(QString title,QString message,QStringList log){
dlg->setWindowTitle(title);
dlg->setText(message);
dlg->setDetailedText(log.join("\n"));
- dlg->exec();
+ dlg->show();
}
void MainUI::slotDisplayStats(){
Please sign in to comment.
Something went wrong with that request. Please try again.