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:
parent
2853a1ee88
commit
2c5314ce93
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user