Browse Source

- Cleaned up src.pro

- Removed some debug
adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
81f2d7ee4a
  1. 1
      src/GUI.cpp
  2. 9
      src/src.pro

1
src/GUI.cpp

@ -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))));

9
src/src.pro

@ -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"

Loading…
Cancel
Save