mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Fix compiler warning for unused variable.
This commit is contained in:
parent
783f17ec4d
commit
3864a7fdc6
@ -887,7 +887,7 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
||||
tr("Some files are currently transferring.\nAre you sure you want to quit qBittorrent?"),
|
||||
QMessageBox::NoButton, this);
|
||||
QPushButton *noBtn = confirmBox.addButton(tr("&No"), QMessageBox::NoRole);
|
||||
QPushButton *yesBtn = confirmBox.addButton(tr("&Yes"), QMessageBox::YesRole);
|
||||
confirmBox.addButton(tr("&Yes"), QMessageBox::YesRole);
|
||||
QPushButton *alwaysBtn = confirmBox.addButton(tr("&Always Yes"), QMessageBox::YesRole);
|
||||
confirmBox.setDefaultButton(noBtn);
|
||||
confirmBox.exec();
|
||||
|
Loading…
Reference in New Issue
Block a user