[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kformula
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2005-05-02 10:43:23
Message-ID: 20050502104323.4240B4A6 () office ! kde ! org
[Download RAW message or body]
CVS commit by fedemar:
Save the setting with m_config as David suggested.
M +4 -6 kformuladocument.cc 1.76
--- koffice/lib/kformula/kformuladocument.cc #1.75:1.76
@@ -360,7 +360,6 @@ DocumentWrapper::~DocumentWrapper()
}
- KSimpleConfig setting("kformularc");
- setting.setGroup("general");
- setting.writeEntry("syntaxHighlighting", m_syntaxHighlightingAction->isChecked() );
+ m_config->setGroup("General");
+ m_config->writeEntry("syntaxHighlighting", m_syntaxHighlightingAction->isChecked() );
}
@@ -372,7 +371,6 @@ void DocumentWrapper::document( Document
initSymbolNamesAction();
- KSimpleConfig setting("kformularc");
- setting.setGroup("general");
- m_syntaxHighlightingAction->setChecked( setting.readBoolEntry("syntaxHighlighting", true ) );
+ m_config->setGroup("General");
+ m_syntaxHighlightingAction->setChecked( m_config->readBoolEntry("syntaxHighlighting", true ) );
if ( !m_syntaxHighlightingAction->isChecked() )
toggleSyntaxHighlighting();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic