Browse Source

Merge pull request #11862 from Chocobo1/year

Bump copyright year and other fixes
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
1592eb7be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dist/mac/Info.plist
  2. 2
      dist/windows/options.nsi
  3. 2
      src/gui/aboutdialog.cpp
  4. 5
      src/gui/mainwindow.cpp
  5. BIN
      src/qbittorrent.rc
  6. 2
      src/webui/www/private/views/about.html

2
dist/mac/Info.plist vendored

@ -67,7 +67,7 @@ @@ -67,7 +67,7 @@
<key>NSAppleScriptEnabled</key>
<string>YES</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2006-2019 The qBittorrent project</string>
<string>Copyright © 2006-2020 The qBittorrent project</string>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>

2
dist/windows/options.nsi vendored

@ -51,7 +51,7 @@ XPStyle on @@ -51,7 +51,7 @@ XPStyle on
;Installer Version Information
VIAddVersionKey "ProductName" "qBittorrent"
VIAddVersionKey "CompanyName" "The qBittorrent project"
VIAddVersionKey "LegalCopyright" "Copyright ©2006-2019 The qBittorrent project"
VIAddVersionKey "LegalCopyright" "Copyright ©2006-2020 The qBittorrent project"
VIAddVersionKey "FileDescription" "qBittorrent - A Bittorrent Client"
VIAddVersionKey "FileVersion" "${PROG_VERSION}"

2
src/gui/aboutdialog.cpp

@ -59,7 +59,7 @@ AboutDialog::AboutDialog(QWidget *parent) @@ -59,7 +59,7 @@ AboutDialog::AboutDialog(QWidget *parent)
"</table>"
"</p>")
.arg(tr("An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.")
, tr("Copyright %1 2006-2019 The qBittorrent project").arg(QString::fromUtf8(C_COPYRIGHT))
, tr("Copyright %1 2006-2020 The qBittorrent project").arg(QString::fromUtf8(C_COPYRIGHT))
, tr("Home Page:")
, tr("Forum:")
, tr("Bug Tracker:"));

5
src/gui/mainwindow.cpp

@ -1775,6 +1775,7 @@ void MainWindow::on_actionSearchWidget_triggered() @@ -1775,6 +1775,7 @@ void MainWindow::on_actionSearchWidget_triggered()
#ifdef Q_OS_WIN
const QMessageBox::StandardButton buttonPressed = QMessageBox::question(this, tr("Old Python Runtime")
, tr("Your Python version (%1) is outdated. Minimum requirement: 2.7.9 / 3.3.0.\nDo you want to install a newer version now?")
.arg(pyInfo.version)
, (QMessageBox::Yes | QMessageBox::No), QMessageBox::Yes);
if (buttonPressed == QMessageBox::Yes)
installPython();
@ -2011,9 +2012,9 @@ void MainWindow::installPython() @@ -2011,9 +2012,9 @@ void MainWindow::installPython()
setCursor(QCursor(Qt::WaitCursor));
// Download python
#ifdef QBT_APP_64BIT
const QString installerURL = "https://www.python.org/ftp/python/3.7.4/python-3.7.4-amd64.exe";
const QString installerURL = "https://www.python.org/ftp/python/3.8.1/python-3.8.1-amd64.exe";
#else
const QString installerURL = "https://www.python.org/ftp/python/3.7.4/python-3.7.4.exe";
const QString installerURL = "https://www.python.org/ftp/python/3.8.1/python-3.8.1.exe";
#endif
Net::DownloadManager::instance()->download(
Net::DownloadRequest(installerURL).saveToFile(true)

BIN
src/qbittorrent.rc

Binary file not shown.

2
src/webui/www/private/views/about.html

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<img src="images/skin/mascot.png" style="float: right;" alt="qBittorrent Mascot" />
<h3 id="qbittorrentVersion"></h3>
<p>QBT_TR(An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.)QBT_TR[CONTEXT=AboutDialog]</p>
<p>Copyright (c) 2011-2019 The qBittorrent project</p>
<p>Copyright (c) 2011-2020 The qBittorrent project</p>
<p>QBT_TR(Home Page:)QBT_TR[CONTEXT=AboutDialog] <a target="_blank" href="https://www.qbittorrent.org"> https://www.qbittorrent.org</a></p>
<p>QBT_TR(Bug Tracker:)QBT_TR[CONTEXT=AboutDialog] <a target="_blank" href="http://bugs.qbittorrent.org"> http://bugs.qbittorrent.org</a></p>
<p>QBT_TR(Forum:)QBT_TR[CONTEXT=AboutDialog] <a target="_blank" href="http://forum.qbittorrent.org"> http://forum.qbittorrent.org</a></p>

Loading…
Cancel
Save