Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
c1c51c8b
Commit
c1c51c8b
authored
Jan 12, 2013
by
Cedric Bellegarde
Browse files
BUG:313091 Init OnLeft buttons as option is empty by default
parent
db68f1db
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcontrol/style/kcmstyle.cpp
View file @
c1c51c8b
...
...
@@ -438,7 +438,7 @@ void KCMStyle::save()
if
(
style
==
"ButtonVertical"
)
{
KConfig
_kwinConfig
(
"kwinrc"
,
KConfig
::
NoGlobals
);
KConfigGroup
kwinConfig
(
&
_kwinConfig
,
"Style"
);
QString
buttonsOnLeft
=
kwinConfig
.
readEntry
(
"ButtonsOnLeft"
,
""
);
QString
buttonsOnLeft
=
kwinConfig
.
readEntry
(
"ButtonsOnLeft"
,
"
MS
"
);
QString
buttonsOnRight
=
kwinConfig
.
readEntry
(
"ButtonsOnRight"
,
"IMX"
);
qDebug
()
<<
buttonsOnLeft
<<
buttonsOnRight
;
if
(
!
buttonsOnLeft
.
contains
(
"N"
)
&&
!
buttonsOnRight
.
contains
(
"N"
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment