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() { @@ -1362,7 +1362,6 @@ void GUI::on_actionTorrent_Properties_triggered() {
void GUI::updateLists(bool force) {
if(isVisible() || force) {
qDebug("Update LISTS");
// update global informations
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))));

9
src/src.pro

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

Loading…
Cancel
Save