From 0855189e71c5356ee514b50dde150aaf364ec4df Mon Sep 17 00:00:00 2001 From: nowrep Date: Thu, 7 Apr 2011 20:04:35 +0200 Subject: [PATCH] Fixed issue with building on Linux --- src/app/qupzilla.h | 2 +- src/downloads/downloaditem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/qupzilla.h b/src/app/qupzilla.h index b643f5408..d4c1c288b 100644 --- a/src/app/qupzilla.h +++ b/src/app/qupzilla.h @@ -19,7 +19,7 @@ #define QUPZILLA_H //Comment for release building -#define DEVELOPING +//#define DEVELOPING //Check if i don't fuck anything #ifdef QT_NO_DEBUG diff --git a/src/downloads/downloaditem.cpp b/src/downloads/downloaditem.cpp index 6562aa8aa..6899f180c 100644 --- a/src/downloads/downloaditem.cpp +++ b/src/downloads/downloaditem.cpp @@ -85,7 +85,7 @@ void DownloadItem::metaDataChanged() QVariant locationHeader = m_reply->header(QNetworkRequest::LocationHeader); if (!locationHeader.toUrl().isEmpty()) - qWarning() << "DownloadManager: metaDataChanged << URL: " << locationHeader.toUrl(); + qWarning("DownloadManager: metaDataChanged << URL: %s", qPrintable(locationHeader.toString())); // QMessageBox::information(m_item->listWidget()->parentWidget(), "Meta Data Changed", QString("Meta data changed feature unimplemented yet, sorry.\n URL: '%̈́'").arg(locationHeader.toUrl().toString())); }