Skip to content
Snippets Groups Projects
Commit 994d9107 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Fixes: Do not show a context menu in the HTML welcome Page

Task: 247413
RevBy: Thorbjorn Lindeijer

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
parent 927578ed
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,7 @@ WelcomeModePrivate::WelcomeModePrivate() : ...@@ -92,6 +92,7 @@ WelcomeModePrivate::WelcomeModePrivate() :
m_projectHtmlTemplate(readFile(QLatin1String(":/core/html/recent_projects.html"))), m_projectHtmlTemplate(readFile(QLatin1String(":/core/html/recent_projects.html"))),
m_baseUrl(QUrl(QLatin1String("qrc:/core/html/welcome.html"))) m_baseUrl(QUrl(QLatin1String("qrc:/core/html/welcome.html")))
{ {
m_webview->setContextMenuPolicy(Qt::NoContextMenu);
} }
#if defined(QT_NO_WEBKIT) #if defined(QT_NO_WEBKIT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment