From 994d910794e452df7910b2a6851c30ec06eb5d0c Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Fri, 20 Mar 2009 10:56:57 +0100 Subject: [PATCH] =?UTF-8?q?=EF=BB=BFFixes:=20Do=20not=20show=20a=20context?= =?UTF-8?q?=20menu=20in=20the=20HTML=20welcome=20Page=20Task:=20247413=20R?= =?UTF-8?q?evBy:=20Thorbjorn=20Lindeijer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Details: The context menu only contained only a reload action which did not work as expected anyway. Removing it was the best option. Details: Suxx --- src/plugins/coreplugin/welcomemode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/welcomemode.cpp b/src/plugins/coreplugin/welcomemode.cpp index de9b8893f6e..588bfcb827b 100644 --- a/src/plugins/coreplugin/welcomemode.cpp +++ b/src/plugins/coreplugin/welcomemode.cpp @@ -92,6 +92,7 @@ WelcomeModePrivate::WelcomeModePrivate() : m_projectHtmlTemplate(readFile(QLatin1String(":/core/html/recent_projects.html"))), m_baseUrl(QUrl(QLatin1String("qrc:/core/html/welcome.html"))) { + m_webview->setContextMenuPolicy(Qt::NoContextMenu); } #if defined(QT_NO_WEBKIT) -- GitLab