[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/konqueror/settings/konqhtml
From: Dirk Mueller <mueller () kde ! org>
Date: 2007-03-12 19:07:17
Message-ID: 1173726437.996168.30755.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 641854 by mueller:
Kconfig love++
M +6 -5 jspolicies.cpp
--- trunk/KDE/kdebase/konqueror/settings/konqhtml/jspolicies.cpp #641853:641854
@@ -52,28 +52,29 @@
void JSPolicies::load() {
Policies::load();
+ KConfigGroup cg(config, groupname);
QString key;
// enableJavaScriptDebugCB->setChecked( \
m_pConfig->readEntry("EnableJavaScriptDebug", QVariant(false)).toBool()); // \
enableDebugOutputCB->setChecked( m_pConfig->readEntry("EnableJSDebugOutput", \
QVariant(false)).toBool() ); key = prefix + "WindowOpenPolicy";
- window_open = config->readEntry(key,
+ window_open = cg.readEntry(key,
is_global ? KHTMLSettings::KJSWindowOpenSmart : INHERIT_POLICY);
key = prefix + "WindowResizePolicy";
- window_resize = config->readEntry(key,
+ window_resize = cg.readEntry(key,
is_global ? KHTMLSettings::KJSWindowResizeAllow : INHERIT_POLICY);
key = prefix + "WindowMovePolicy";
- window_move = config->readEntry(key,
+ window_move = cg.readEntry(key,
is_global ? KHTMLSettings::KJSWindowMoveAllow : INHERIT_POLICY);
key = prefix + "WindowFocusPolicy";
- window_focus = config->readEntry(key,
+ window_focus = cg.readEntry(key,
is_global ? KHTMLSettings::KJSWindowFocusAllow : INHERIT_POLICY);
key = prefix + "WindowStatusPolicy";
- window_status = config->readEntry(key,
+ window_status = cg.readEntry(key,
is_global ? KHTMLSettings::KJSWindowStatusAllow : INHERIT_POLICY);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic