Skip to content
Snippets Groups Projects
Commit 3dda9cdd authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix compilation with WebKit disabled.

parent 661f0500
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,9 @@ WelcomeModePrivate::WelcomeModePrivate() : ...@@ -92,7 +92,9 @@ 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")))
{ {
#if !defined(QT_NO_WEBKIT)
m_webview->setContextMenuPolicy(Qt::NoContextMenu); m_webview->setContextMenuPolicy(Qt::NoContextMenu);
#endif
} }
#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