[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [konversation/frameworks] src/config: KDialog--
From:       Peter Simonsson <peter.simonsson () gmail ! com>
Date:       2014-10-31 20:21:38
Message-ID: E1XkIhW-0002Ho-J1 () scm ! kde ! org
[Download RAW message or body]

Git commit 75795797fcfb2e90ad9ede511df29d1a98abc73b by Peter Simonsson.
Committed on 31/10/2014 at 18:55.
Pushed by psn into branch 'frameworks'.

KDialog--

CCBUG: 337518

M  +7    -6    src/config/konversation.kcfg

http://commits.kde.org/konversation/75795797fcfb2e90ad9ede511df29d1a98abc73b

diff --git a/src/config/konversation.kcfg b/src/config/konversation.kcfg
index 8e3e4e4..f3fe84a 100644
--- a/src/config/konversation.kcfg
+++ b/src/config/konversation.kcfg
@@ -5,12 +5,13 @@
                            http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
   <include>qfont.h</include>
   <include>qsize.h</include>
-  <include>kdialog.h</include>
   <include>QDir</include>
   <include>kuser.h</include>
   <include>QStandardPaths</include>
   <include>QFontDatabase</include>
   <include>QUrl</include>
+  <include>QStyle</include>
+  <include>QApplication</include>
   <kcfgfile name="konversationrc" />
 
   <group name="Appearance">
@@ -124,12 +125,12 @@
       <whatsthis></whatsthis>
     </entry>
     <entry key="Spacing" type="Int">
-      <default>KDialog::spacingHint()</default>
+      <default>QApplication::style()->layoutSpacing(QSizePolicy::DefaultType, \
QSizePolicy::DefaultType, Qt::Horizontal)</default>  <label></label>
       <whatsthis></whatsthis>
     </entry>
     <entry key="Margin" type="Int">
-      <default>KDialog::marginHint()</default>
+      <default>QApplication::style()->pixelMetric(QStyle::PM_LayoutLeftMargin)</default>
  <label></label>
       <whatsthis></whatsthis>
     </entry>
@@ -838,9 +839,9 @@
   </group>
   <group name="External Log Viewer">
     <entry key="UseExternalLogViewer" type="Bool">
-	<default>false</default>
-	<label></label>
-	<whatsthis></whatsthis>
+        <default>false</default>
+        <label></label>
+        <whatsthis></whatsthis>
     </entry>
   </group>
   <group name="Themes">


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic