Browse Source

Fixed exit confirmation title

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
2665e2ef39
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -575,7 +575,7 @@ void GUI::closeEvent(QCloseEvent *e) {
if(e->spontaneous() || force_exit) { if(e->spontaneous() || force_exit) {
if(!isVisible()) if(!isVisible())
show(); show();
QMessageBox confirmBox(QMessageBox::Question, tr("Are you sure you want to quit?")+QString::fromUtf8(" -- ")+tr("qBittorrent"), QMessageBox confirmBox(QMessageBox::Question, tr("Exiting qBittorrent"),
tr("Some files are currently transferring.\nAre you sure you want to quit qBittorrent?"), tr("Some files are currently transferring.\nAre you sure you want to quit qBittorrent?"),
QMessageBox::NoButton, this); QMessageBox::NoButton, this);
QPushButton *noBtn = confirmBox.addButton(tr("No"), QMessageBox::NoRole); QPushButton *noBtn = confirmBox.addButton(tr("No"), QMessageBox::NoRole);

Loading…
Cancel
Save