mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +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()');"
|
" console.warn('NOT IMPLEMENTED: IsSearchProviderInstalled()');"
|
||||||
" return false;"
|
" return false;"
|
||||||
"};"
|
"};"
|
||||||
"window.external = external;"
|
"window.external = external;");
|
||||||
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 12, 0)
|
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 12, 0)
|
||||||
"window.print = function() {"
|
source += QL1S("window.print = function() {"
|
||||||
" window.location = 'falkon:PrintPage';"
|
" window.location = 'falkon:PrintPage';"
|
||||||
"};"
|
"};");
|
||||||
#endif
|
#endif
|
||||||
"})()");
|
source += QL1S("})()");
|
||||||
|
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user