Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KScreen
Commits
82772aba
Commit
82772aba
authored
Mar 01, 2019
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated method
parent
14cc6fb3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kcm/src/kcm_kscreen.cpp
kcm/src/kcm_kscreen.cpp
+1
-1
kcm/src/resolutionslider.cpp
kcm/src/resolutionslider.cpp
+1
-1
No files found.
kcm/src/kcm_kscreen.cpp
View file @
82772aba
...
@@ -71,7 +71,7 @@ void KCMKScreen::configReady(ConfigOperation* op)
...
@@ -71,7 +71,7 @@ void KCMKScreen::configReady(ConfigOperation* op)
{
{
delete
mMainLayout
;
delete
mMainLayout
;
mMainLayout
=
new
QHBoxLayout
(
this
);
mMainLayout
=
new
QHBoxLayout
(
this
);
mMainLayout
->
set
Margin
(
0
);
mMainLayout
->
set
ContentsMargins
(
0
,
0
,
0
,
0
);
if
(
op
->
hasError
())
{
if
(
op
->
hasError
())
{
mKScreenWidget
=
nullptr
;
mKScreenWidget
=
nullptr
;
...
...
kcm/src/resolutionslider.cpp
View file @
82772aba
...
@@ -79,7 +79,7 @@ void ResolutionSlider::init()
...
@@ -79,7 +79,7 @@ void ResolutionSlider::init()
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
int
margin
=
layout
->
margin
();
int
margin
=
layout
->
margin
();
// Avoid double margins
// Avoid double margins
layout
->
set
Margin
(
0
);
layout
->
set
ContentsMargins
(
0
,
0
,
0
,
0
);
if
(
mModes
.
count
()
>
15
)
{
if
(
mModes
.
count
()
>
15
)
{
std
::
reverse
(
mModes
.
begin
(),
mModes
.
end
());
std
::
reverse
(
mModes
.
begin
(),
mModes
.
end
());
...
...
Write
Preview
Markdown
is supported
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