mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Prepend QBT_ for preprocessor variables
This commit is contained in:
parent
fc49856857
commit
cb1646be32
13 changed files with 29 additions and 29 deletions
|
@ -139,7 +139,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
|
||||
Preferences *const pref = Preferences::instance();
|
||||
m_uiLocked = pref->isUILocked();
|
||||
setWindowTitle("qBittorrent " VERSION);
|
||||
setWindowTitle("qBittorrent " QBT_VERSION);
|
||||
m_displaySpeedInTitle = pref->speedInTitleBar();
|
||||
// Setting icons
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC))
|
||||
|
@ -1332,7 +1332,7 @@ void MainWindow::updateGUI()
|
|||
setWindowTitle(tr("[D: %1, U: %2] qBittorrent %3", "D = Download; U = Upload; %3 is qBittorrent version")
|
||||
.arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate(), true))
|
||||
.arg(Utils::Misc::friendlyUnit(status.payloadUploadRate(), true))
|
||||
.arg(VERSION));
|
||||
.arg(QBT_VERSION));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1495,7 +1495,7 @@ void MainWindow::on_actionSpeedInTitleBar_triggered()
|
|||
if (m_displaySpeedInTitle)
|
||||
updateGUI();
|
||||
else
|
||||
setWindowTitle("qBittorrent " VERSION);
|
||||
setWindowTitle("qBittorrent " QBT_VERSION);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionRSSReader_triggered()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue