Make it compile with the new kdelibs snapshot.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=476641
This commit is contained in:
Wilfried Huss 2005-11-01 17:48:48 +00:00
parent 50b5395797
commit 4fe14fa528

View file

@ -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();