summaryrefslogtreecommitdiffstats
path: root/demos/browser
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-10-07 07:44:18 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-10-07 10:44:41 (GMT)
commit41a47906475f3970bd662c3d24e7e642ea65a191 (patch)
treebda10c4b1885e7754481749626b5dcbe5362c07a /demos/browser
parent350410f19fd589986e51eba8f018abd92eddc287 (diff)
downloadQt-41a47906475f3970bd662c3d24e7e642ea65a191.zip
Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.gz
Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.bz2
Fixing some GCC warnings
Reviewed-by: Markus Goetz
Diffstat (limited to 'demos/browser')
-rw-r--r--demos/browser/webview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/browser/webview.cpp b/demos/browser/webview.cpp
index e1d9b12..754fedc 100644
--- a/demos/browser/webview.cpp
+++ b/demos/browser/webview.cpp
@@ -151,6 +151,8 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
QFile file(QLatin1String(":/notfound.html"));
bool isOpened = file.open(QIODevice::ReadOnly);
Q_ASSERT(isOpened);
+ Q_UNUSED(isOpened)
+
QString title = tr("Error loading page: %1").arg(reply->url().toString());
QString html = QString(QLatin1String(file.readAll()))
.arg(title)