Changeset 90 for trunk/src/gui/mainwindow.cpp
- Timestamp:
- 01/15/06 17:36:23 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/gui/mainwindow.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/mainwindow.cpp
r89 r90 149 149 if (!_torControl->start(&errmsg)) { 150 150 QMessageBox::warning(this, tr("Error Starting Tor"), 151 tr("Vidalia was unable to start Tor.\ r\n\r\nError: ") + errmsg,151 tr("Vidalia was unable to start Tor.\n\nError: ") + errmsg, 152 152 QMessageBox::Ok, QMessageBox::NoButton); 153 153 } … … 192 192 "\n\nError: ") + errmsg, 193 193 QMessageBox::Ok, QMessageBox::NoButton); 194 } else { 195 if (!_torControl->addEvent(TorEvents::Bandwidth, &errmsg)) { 196 QMessageBox::warning(this, tr("Authentication Error"), 197 tr("Vidalia was unable to authenticate itself to Tor." 198 "Check your authentication information and try again." 199 "\n\nError: ") + errmsg, 200 QMessageBox::Ok, QMessageBox::NoButton); 201 } 194 202 } 195 203 } … … 238 246 if (!_isIntentionalExit) { 239 247 QMessageBox::warning(this, tr("Tor Crashed"), 240 tr("Vidalia detected that the Tor process crashed.\n "248 tr("Vidalia detected that the Tor process crashed.\n\n" 241 249 "Please check the message log."), 242 250 QMessageBox::Ok, QMessageBox::NoButton); … … 247 255 * if this turns out to not be the case. */ 248 256 QMessageBox::warning(this, tr("Tor Exited"), 249 tr("Tor exited and returned a non-zero exit code.\n "257 tr("Tor exited and returned a non-zero exit code.\n\n" 250 258 "Please check the message log."), 251 259 QMessageBox::Ok, QMessageBox::NoButton);
