Commit 9ddcf5da authored by Matt Edman's avatar Matt Edman
Browse files

Straight Vidalia pimpin' 'til the break of dawn.


svn:r167
parent 5db5e3c2
Loading
Loading
Loading
Loading
+6 −4
Changes for src/gui/mainwindow.cpp: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -308,9 +308,10 @@ MainWindow::stopped(int exitCode, QProcess::ExitStatus exitStatus)
   * if it closed itself and returned an error code. */
  if (!_isIntentionalExit) {
    if (exitStatus == QProcess::CrashExit) {
        QMessageBox::warning(this, tr("Tor Crashed"),
         tr("Vidalia detected that the Tor process crashed.\n\n"
              "Please check the message log."),
      QMessageBox::warning(this, tr("Tor Exited"),
         tr("Vidalia detected that Tor exited unexpectedly.\n\n"
            "Please check the message log for indicators\n"
            "about what happened to Tor before it exited."),
         QMessageBox::Ok, QMessageBox::NoButton);
    } else if (exitCode != 0) {
      /* A quick overview of Tor's code tells me that if it catches a SIGTERM or
@@ -318,7 +319,8 @@ MainWindow::stopped(int exitCode, QProcess::ExitStatus exitStatus)
      * if this turns out to not be the case. */
      QMessageBox::warning(this, tr("Tor Exited"),
         tr("Tor exited and returned a non-zero exit code.\n\n"
            "Please check the message log."),
            "Please check the message log for indicators\n"
            "about what happened to Tor before it exited."),
         QMessageBox::Ok, QMessageBox::NoButton);
    }