diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 07:44:18 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-07 10:44:41 (GMT) |
commit | 41a47906475f3970bd662c3d24e7e642ea65a191 (patch) | |
tree | bda10c4b1885e7754481749626b5dcbe5362c07a /demos/browser | |
parent | 350410f19fd589986e51eba8f018abd92eddc287 (diff) | |
download | Qt-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.cpp | 2 |
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) |