1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fix MSVC build

This commit is contained in:
David Rosca 2019-03-20 11:11:36 +01:00
parent 2853a1ee88
commit 2c5314ce93
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -146,13 +146,13 @@ QString Scripts::setupWindowObject()
" console.warn('NOT IMPLEMENTED: IsSearchProviderInstalled()');"
" return false;"
"};"
"window.external = external;"
"window.external = external;");
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 12, 0)
"window.print = function() {"
source += QL1S("window.print = function() {"
" window.location = 'falkon:PrintPage';"
"};"
"};");
#endif
"})()");
source += QL1S("})()");
return source;
}