comparison mainwindow.cpp @ 189:6bb510abe4f1

* Handle failure to start processes at all (e.g. because executable path is wrong)
author Chris Cannam
date Mon, 20 Dec 2010 16:47:00 +0000
parents 6c15700f4103
children f4d261fa3a99
comparison
equal deleted inserted replaced
188:07b908b4fa5f 189:6bb510abe4f1
1396 return; 1396 return;
1397 case ACT_TEST_HG: 1397 case ACT_TEST_HG:
1398 QMessageBox::warning 1398 QMessageBox::warning
1399 (this, tr("Failed to run Mercurial"), 1399 (this, tr("Failed to run Mercurial"),
1400 format3(tr("Failed to run Mercurial"), 1400 format3(tr("Failed to run Mercurial"),
1401 tr("The Mercurial program either could not be found or failed to run.<br>This may indicate a problem with the Mercurial installation, or with the EasyHg interaction extension.<br><br>The test command said:"), 1401 tr("The Mercurial program either could not be found or failed to run.<br>This may indicate a problem with the Mercurial installation, or with the EasyHg interaction extension.<br><br>%1").arg(output == "" ? QString("") : tr("The test command said:")),
1402 output)); 1402 output));
1403 settings(); 1403 settings();
1404 return; 1404 return;
1405 case ACT_INCOMING: 1405 case ACT_INCOMING:
1406 // returns non-zero code if the check was successful but there 1406 // returns non-zero code if the check was successful but there