mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix compilation errors on Windows
This commit is contained in:
parent
efe5e7b068
commit
b169083fe2
3 changed files with 22 additions and 22 deletions
|
@ -1229,7 +1229,7 @@ void MainWindow::on_actionDownload_from_URL_triggered() {
|
|||
|
||||
#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
|
||||
|
||||
void GUI::handleUpdateCheckFinished(bool update_available, QString new_version)
|
||||
void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_version)
|
||||
{
|
||||
if(update_available) {
|
||||
if(QMessageBox::question(this, tr("A newer version is available"),
|
||||
|
@ -1245,7 +1245,7 @@ void GUI::handleUpdateCheckFinished(bool update_available, QString new_version)
|
|||
sender()->deleteLater();
|
||||
}
|
||||
|
||||
void GUI::handleUpdateInstalled(QString error_msg)
|
||||
void MainWindow::handleUpdateInstalled(QString error_msg)
|
||||
{
|
||||
if(!error_msg.isEmpty()) {
|
||||
QMessageBox::critical(this, tr("Impossible to update qBittorrent"), tr("qBittorrent failed to update, reason: %1").arg(error_msg));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue