mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
4ef9a6444a
commit
fb68604ee7
1 changed files with 2 additions and 2 deletions
|
@ -1719,14 +1719,14 @@ void MainWindow::on_actionSearchWidget_triggered()
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
const QMessageBox::StandardButton buttonPressed = QMessageBox::question(this, tr("Old Python Runtime")
|
const QMessageBox::StandardButton buttonPressed = QMessageBox::question(this, tr("Old Python Runtime")
|
||||||
, tr("Your Python version (%1) is outdated. Minimum requirement: %2.\nDo you want to install a newer version now?")
|
, tr("Your Python version (%1) is outdated. Minimum requirement: %2.\nDo you want to install a newer version now?")
|
||||||
.arg(pyInfo.version.toString(), u"3.5.0")
|
.arg(pyInfo.version.toString(), u"3.7.0")
|
||||||
, (QMessageBox::Yes | QMessageBox::No), QMessageBox::Yes);
|
, (QMessageBox::Yes | QMessageBox::No), QMessageBox::Yes);
|
||||||
if (buttonPressed == QMessageBox::Yes)
|
if (buttonPressed == QMessageBox::Yes)
|
||||||
installPython();
|
installPython();
|
||||||
#else
|
#else
|
||||||
QMessageBox::information(this, tr("Old Python Runtime")
|
QMessageBox::information(this, tr("Old Python Runtime")
|
||||||
, tr("Your Python version (%1) is outdated. Please upgrade to latest version for search engines to work.\nMinimum requirement: %2.")
|
, tr("Your Python version (%1) is outdated. Please upgrade to latest version for search engines to work.\nMinimum requirement: %2.")
|
||||||
.arg(pyInfo.version.toString(), u"3.5.0"));
|
.arg(pyInfo.version.toString(), u"3.7.0"));
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue