mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Merge branch 'Falkon/3.1'
This commit is contained in:
commit
f835f0ecac
|
@ -1,9 +0,0 @@
|
||||||
find_path(LibIntl_INCLUDE_DIRS NAMES libintl.h)
|
|
||||||
find_library(LibIntl_LIBRARIES NAMES intl libintl)
|
|
||||||
include(CheckCXXSymbolExists)
|
|
||||||
check_cxx_symbol_exists(gettext libintl.h LibIntl_SYMBOL_FOUND)
|
|
||||||
if (LibIntl_SYMBOL_FOUND)
|
|
||||||
set(HAVE_LIBINTL TRUE)
|
|
||||||
else()
|
|
||||||
set(HAVE_LIBINTL FALSE)
|
|
||||||
endif()
|
|
|
@ -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