diff --git a/src/about_imp.h b/src/about_imp.h
index 1dc97e492..4990f528a 100644
--- a/src/about_imp.h
+++ b/src/about_imp.h
@@ -69,7 +69,7 @@ class about : public QDialog, private Ui::AboutDlg{
// Set icons
logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/qbittorrent22.png")));
//Title
- lb_name->setText(QString::fromUtf8("qBittorrent")+QString::fromUtf8(" "VERSION"
"));
+ lb_name->setText(QString::fromUtf8("qBittorrent")+QString::fromUtf8(" " VERSION"
"));
// Thanks
QString thanks_txt;
thanks_txt += QString::fromUtf8("
I would first like to thank sourceforge.net for hosting qBittorrent project and for their support.
"); diff --git a/src/dnsupdater.cpp b/src/dnsupdater.cpp index af9795ceb..b7d1a0d9c 100644 --- a/src/dnsupdater.cpp +++ b/src/dnsupdater.cpp @@ -76,7 +76,7 @@ void DNSUpdater::checkPublicIP() m_lastIPCheckTime = QDateTime::currentDateTime(); QNetworkRequest request; request.setUrl(QUrl("http://checkip.dyndns.org")); - request.setRawHeader("User-Agent", "qBittorrent/"VERSION" chris@qbittorrent.org"); + request.setRawHeader("User-Agent", "qBittorrent/" VERSION" chris@qbittorrent.org"); manager->get(request); } @@ -123,7 +123,7 @@ void DNSUpdater::updateDNSService() m_lastIPCheckTime = QDateTime::currentDateTime(); QNetworkRequest request; request.setUrl(getUpdateUrl()); - request.setRawHeader("User-Agent", "qBittorrent/"VERSION" chris@qbittorrent.org"); + request.setRawHeader("User-Agent", "qBittorrent/" VERSION" chris@qbittorrent.org"); manager->get(request); } diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 238b556dd..9eb86b620 100755 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -421,7 +421,7 @@ void QBtSession::configureSession() { } // * Session settings session_settings sessionSettings = s->settings(); - sessionSettings.user_agent = "qBittorrent "VERSION; + sessionSettings.user_agent = "qBittorrent " VERSION; //std::cout << "HTTP user agent is " << sessionSettings.user_agent << std::endl; logger->addMessage(tr("HTTP user agent is %1").arg(misc::toQString(sessionSettings.user_agent))); diff --git a/src/torrentcreator/torrentcreatorthread.cpp b/src/torrentcreator/torrentcreatorthread.cpp index a87b19fc6..88f9666d1 100644 --- a/src/torrentcreator/torrentcreatorthread.cpp +++ b/src/torrentcreator/torrentcreatorthread.cpp @@ -83,7 +83,7 @@ void TorrentCreatorThread::sendProgressSignal(int progress) { void TorrentCreatorThread::run() { emit updateProgress(0); - QString creator_str("qBittorrent "VERSION); + QString creator_str("qBittorrent " VERSION); try { file_storage fs; // Adding files to the torrent