Fix compilation with WebKit disabled.

This commit is contained in:
Friedemann Kleint
2009-03-24 09:41:44 +01:00
parent 661f0500aa
commit 3dda9cdd08

View File

@@ -92,7 +92,9 @@ WelcomeModePrivate::WelcomeModePrivate() :
m_projectHtmlTemplate(readFile(QLatin1String(":/core/html/recent_projects.html"))),
m_baseUrl(QUrl(QLatin1String("qrc:/core/html/welcome.html")))
{
#if !defined(QT_NO_WEBKIT)
m_webview->setContextMenuPolicy(Qt::NoContextMenu);
#endif
}
#if defined(QT_NO_WEBKIT)