diff options
Diffstat (limited to 'Source/WebKit2/qt/MainQt.cpp')
| -rw-r--r-- | Source/WebKit2/qt/MainQt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit2/qt/MainQt.cpp b/Source/WebKit2/qt/MainQt.cpp index 56b328908..1e1ce2b3d 100644 --- a/Source/WebKit2/qt/MainQt.cpp +++ b/Source/WebKit2/qt/MainQt.cpp @@ -42,7 +42,7 @@ typedef QApplication ApplicationType; namespace WebKit { Q_DECL_IMPORT int WebProcessMainQt(QGuiApplication*); -#if !defined(QT_NO_WIDGETS) +#if defined(HAVE_WEBKIT1) Q_DECL_IMPORT void initializeWebKit2Theme(); #endif } @@ -82,7 +82,7 @@ int main(int argc, char** argv) } #endif -#if !defined(QT_NO_WIDGETS) +#if defined(HAVE_WEBKIT1) WebKit::initializeWebKit2Theme(); #endif |
