Changeset 78469f9


Ignore:
Timestamp:
03/17/14 09:56:01 (17 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, enter/10, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
40cafc7
Parents:
f0d1327
Message:

Make sure the AppCafe? starts applications with "startDetached" instead 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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/mainUI.cpp

    re6fddc0 r78469f9  
    665665  QString cmd = "xdg-open "+desktopfile; 
    666666  //Startup the command externally 
    667   QProcess::execute(cmd); 
     667  QProcess::startDetached(cmd); 
    668668} 
    669669 
     
    12331233    dlg->setText(message); 
    12341234    dlg->setDetailedText(log.join("\n")); 
    1235   dlg->exec(); 
     1235  dlg->show(); 
    12361236} 
    12371237 
Note: See TracChangeset for help on using the changeset viewer.