mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
okular: tell the document to not by annoying in annotations test
fixes the hang in AppVeyor, the messagebox is interactive Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
506ba84ef3
commit
4cf7f2f395
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ void AddRemoveAnnotationTest::initTestCase()
|
|||
{
|
||||
Okular::SettingsCore::instance( "addannotationtest" );
|
||||
m_document = new Okular::Document( 0 );
|
||||
|
||||
// Tell the document to not be annoying
|
||||
KSharedConfigPtr c = KGlobal::config();
|
||||
KConfigGroup cg = c->group("Notification Messages");
|
||||
cg.writeEntry("annotExportAsArchive", false);
|
||||
}
|
||||
|
||||
void AddRemoveAnnotationTest::init()
|
||||
|
|
Loading…
Add table
Reference in a new issue