diff --git a/Changelog b/Changelog index 7b05d7f66..ae8b10e1f 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ - BUGFIX: Display a ratio of 0.0 if total_upload and total_download are both 0 - BUGFIX: Remove last separator in top tool bar - BUGFIX: Tuned lists properties to make sure display is correct + - COSMETIC: Display date as well as time in log window * Sun Apr 5 2009 - Christophe Dumez - v1.3.3 - BUGFIX: Fixed Web UI torrent upload form diff --git a/src/Icons/qBittorrent.desktop b/src/Icons/qBittorrent.desktop index 071b8f0f2..992c825f4 100644 --- a/src/Icons/qBittorrent.desktop +++ b/src/Icons/qBittorrent.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Categories=Qt;Network;P2P -Comment=V1.3.3 +Comment=V1.3.4 Exec=qbittorrent %f GenericName=Bittorrent client GenericName[bg]=Торент клиент diff --git a/src/Icons/splash.png b/src/Icons/splash.png index 8667dbb67..986f5d869 100644 Binary files a/src/Icons/splash.png and b/src/Icons/splash.png differ diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index a6fa7362d..fce3069b4 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -29,7 +29,7 @@ */ #include -#include +#include #include #include #include @@ -852,7 +852,7 @@ void bittorrent::addConsoleMessage(QString msg, QColor color) { if(consoleMessages.size() > 100) { consoleMessages.removeFirst(); } - consoleMessages.append(QString::fromUtf8("")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8(" - ") + msg + QString::fromUtf8("")); + consoleMessages.append(QString::fromUtf8("")+ QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss")) + QString::fromUtf8(" - ") + msg + QString::fromUtf8("")); } void bittorrent::addPeerBanMessage(QString ip, bool from_ipfilter) { @@ -860,9 +860,9 @@ void bittorrent::addPeerBanMessage(QString ip, bool from_ipfilter) { peerBanMessages.removeFirst(); } if(from_ipfilter) - peerBanMessages.append(QString::fromUtf8("")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8(" - ")+tr("%1 was blocked due to your IP filter", "x.y.z.w was blocked").arg(ip)); + peerBanMessages.append(QString::fromUtf8("")+ QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss")) + QString::fromUtf8(" - ")+tr("%1 was blocked due to your IP filter", "x.y.z.w was blocked").arg(ip)); else - peerBanMessages.append(QString::fromUtf8("")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8(" - ")+tr("%1 was banned due to corrupt pieces", "x.y.z.w was banned").arg(ip)); + peerBanMessages.append(QString::fromUtf8("")+ QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss")) + QString::fromUtf8(" - ")+tr("%1 was banned due to corrupt pieces", "x.y.z.w was banned").arg(ip)); } bool bittorrent::isFilePreviewPossible(QString hash) const{ diff --git a/src/src.pro b/src/src.pro index 209886187..42f38a4fd 100644 --- a/src/src.pro +++ b/src/src.pro @@ -14,10 +14,10 @@ CONFIG += qt \ network # Update this VERSION for each release -DEFINES += VERSION=\\\"v1.3.3\\\" +DEFINES += VERSION=\\\"v1.3.4\\\" DEFINES += VERSION_MAJOR=1 DEFINES += VERSION_MINOR=3 -DEFINES += VERSION_BUGFIX=3 +DEFINES += VERSION_BUGFIX=4 !mac:QMAKE_LFLAGS += -Wl,--as-needed contains(DEBUG_MODE, 1) { CONFIG += debug