X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fwebpreviewitem.cpp;h=99bb5538ba4a1deede2197f27461c56799a42b5b;hp=37f231ac09f434f5f9a4ece32f8683831a1deea9;hb=aff2b5e81f0e45f95c0e15303a9ec4e7ea36c555;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/qtui/webpreviewitem.cpp b/src/qtui/webpreviewitem.cpp index 37f231ac..99bb5538 100644 --- a/src/qtui/webpreviewitem.cpp +++ b/src/qtui/webpreviewitem.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -36,6 +36,7 @@ WebPreviewItem::WebPreviewItem(const QUrl &url) QWebView *webView = new QWebView; webView->settings()->setAttribute(QWebSettings::JavascriptEnabled, false); webView->load(url); + webView->setDisabled(true); webView->resize(1000, 750); QGraphicsProxyWidget *proxyItem = new QGraphicsProxyWidget(this); proxyItem->setWidget(webView);