Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma applet for NetworkManager
Commits
1db60ab6
Commit
1db60ab6
authored
Apr 12, 2022
by
Ismael Asensio
Committed by
Nate Graham
Apr 12, 2022
Browse files
KCM: Remove extra margins
parent
3833e44e
Pipeline
#163084
passed with stage
in 2 minutes and 54 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
kcm/kcm.cpp
View file @
1db60ab6
...
...
@@ -506,8 +506,7 @@ void KCMNetworkmanagement::loadConnectionSettings(const NetworkManager::Connecti
kcmChanged
(
valid
);
}
});
auto
layout
=
new
QVBoxLayout
(
m_ui
->
connectionConfiguration
);
layout
->
addWidget
(
m_tabWidget
);
m_ui
->
horizontalLayout
->
addWidget
(
m_tabWidget
);
}
kcmChanged
(
false
);
...
...
@@ -593,7 +592,6 @@ void KCMNetworkmanagement::resetSelection()
QObject
*
rootItem
=
m_ui
->
connectionView
->
rootObject
();
QMetaObject
::
invokeMethod
(
rootItem
,
"deselectConnections"
);
if
(
m_tabWidget
)
{
delete
m_ui
->
connectionConfiguration
->
layout
();
delete
m_tabWidget
;
m_tabWidget
=
nullptr
;
}
...
...
kcm/kcm.ui
View file @
1db60ab6
...
...
@@ -23,6 +23,9 @@
</size>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QQuickWidget"
name=
"connectionView"
>
<property
name=
"resizeMode"
>
...
...
@@ -30,9 +33,6 @@
</property>
</widget>
</item>
<item>
<widget
class=
"QWidget"
name=
"connectionConfiguration"
native=
"true"
/>
</item>
</layout>
</widget>
<customwidgets>
...
...
libs/editor/connectioneditortabwidget.ui
View file @
1db60ab6
...
...
@@ -11,6 +11,9 @@
</rect>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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