- Cleaned up src.pro

- Removed some debug
This commit is contained in:
Christophe Dumez 2008-12-28 01:17:57 +00:00
parent 66874fbd2f
commit 81f2d7ee4a
2 changed files with 3 additions and 7 deletions

View file

@ -1362,7 +1362,6 @@ void GUI::on_actionTorrent_Properties_triggered() {
void GUI::updateLists(bool force) { void GUI::updateLists(bool force) {
if(isVisible() || force) { if(isVisible() || force) {
qDebug("Update LISTS");
// update global informations // update global informations
dlSpeedLbl->setText(tr("DL: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1)))); dlSpeedLbl->setText(tr("DL: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))));
upSpeedLbl->setText(tr("UP: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1)))); upSpeedLbl->setText(tr("UP: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))));

View file

@ -31,10 +31,6 @@ contains(DEBUG_MODE, 0) {
message(Release build!) message(Release build!)
} }
# For libtorrent stuff
# (comment this if you are using libtorrent with debug enabled)
DEFINES += NDEBUG
# Install # Install
!win32 { !win32 {
# Binary # Binary
@ -92,8 +88,9 @@ DEFINES += NDEBUG
icon128 \ icon128 \
icon192 icon192
} }
QMAKE_CXXFLAGS_RELEASE += -fwrapv #QMAKE_CXXFLAGS_RELEASE += -fwrapv
QMAKE_CXXFLAGS_DEBUG += -fwrapv #QMAKE_CXXFLAGS_DEBUG += -fwrapv
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
PKGCONFIG += "libtorrent-rasterbar libcurl" PKGCONFIG += "libtorrent-rasterbar libcurl"