Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 1270:359419264199
(issue44) finish slot renaming from restart to startafterupdate
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 10:03:04 +0200 |
parents | 8bfbfd4ea568 |
children | 520d8e6f14a4 |
comparison
equal
deleted
inserted
replaced
1269:b8ec9a52eae8 | 1270:359419264199 |
---|---|
467 if (!updaterProcess->waitForStarted() || | 467 if (!updaterProcess->waitForStarted() || |
468 updaterProcess->state() == QProcess::NotRunning) { | 468 updaterProcess->state() == QProcess::NotRunning) { |
469 qDebug() << "Failed to start process."; | 469 qDebug() << "Failed to start process."; |
470 } | 470 } |
471 connect(updaterProcess, SIGNAL(finished(int, QProcess::ExitStatus)), | 471 connect(updaterProcess, SIGNAL(finished(int, QProcess::ExitStatus)), |
472 this, SLOT(restart())); | 472 this, SLOT(updaterFinished())); |
473 return; | 473 return; |
474 } | 474 } |
475 | 475 |
476 #endif | 476 #endif |
477 if (isVisible()) { | 477 if (isVisible()) { |