mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Merge branch 'Applications/17.12'
This commit is contained in:
commit
591f200f33
|
@ -86,6 +86,7 @@ find_package(ZLIB REQUIRED)
|
|||
|
||||
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
|
||||
add_definitions(-DTRANSLATION_DOMAIN="okular")
|
||||
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PHONON_INCLUDES} core/synctex ${ZLIB_INCLUDE_DIR} ${CMAKE_BINARY_DIR}/core)
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ void DocumentTest::testDocdataMigration()
|
|||
m_document->closeDocument();
|
||||
|
||||
// And the new file should have 1 annotation, let's check
|
||||
QCOMPARE( m_document->openDocument( migratedSaveFile.fileName(), migratedSaveFile.fileName(), mime ), Okular::Document::OpenSuccess );
|
||||
QCOMPARE( m_document->openDocument( migratedSaveFile.fileName(), QUrl::fromLocalFile(migratedSaveFile.fileName()), mime ), Okular::Document::OpenSuccess );
|
||||
QCOMPARE( m_document->page( 0 )->annotations().size(), 1 );
|
||||
QCOMPARE( m_document->isDocdataMigrationNeeded(), false );
|
||||
m_document->closeDocument();
|
||||
|
|
Loading…
Reference in a new issue