mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-13 03:12:22 +00:00
Make it compile with the new kdelibs snapshot.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=476641
This commit is contained in:
parent
50b5395797
commit
4fe14fa528
|
@ -234,7 +234,7 @@ void dviRenderer::showThatSourceInformationIsPresent()
|
|||
|
||||
// Check if the 'Don't show again' feature was used
|
||||
KConfig *config = KGlobal::config();
|
||||
KConfigGroupSaver saver( config, "Notification Messages" );
|
||||
KConfigGroup saver(config, "Notification Messages");
|
||||
bool showMsg = config->readBoolEntry( "KDVI-info_on_source_specials", true);
|
||||
|
||||
if (showMsg) {
|
||||
|
@ -273,7 +273,7 @@ void dviRenderer::showThatSourceInformationIsPresent()
|
|||
|
||||
showMsg = !checkbox->isChecked();
|
||||
if (!showMsg) {
|
||||
KConfigGroupSaver saver( config, "Notification Messages" );
|
||||
KConfigGroup saver(config, "Notification Messages");
|
||||
config->writeEntry( "KDVI-info_on_source_specials", showMsg);
|
||||
}
|
||||
config->sync();
|
||||
|
|
Loading…
Reference in a new issue