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
System
KSystemLog
Commits
37801d0b
Commit
37801d0b
authored
May 14, 2021
by
Laurent Montel
😁
Browse files
Simplify signals
parent
cb9090b4
Pipeline
#61955
passed with stage
in 8 minutes and 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/generalConfigurationWidget.cpp
View file @
37801d0b
...
...
@@ -57,8 +57,8 @@ GeneralConfigurationWidget::GeneralConfigurationWidget()
startupLogMode
->
addItem
(
logMode
->
icon
(),
logMode
->
name
(),
QVariant
(
logMode
->
id
()));
}
connect
(
startupLogMode
,
QOverload
<
int
>::
of
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
connect
(
maxLines
,
QOverload
<
int
>::
of
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
connect
(
startupLogMode
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
connect
(
maxLines
,
&
QSpinBox
::
valueChanged
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
connect
(
deleteDuplicatedLines
,
&
QAbstractButton
::
clicked
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
...
...
@@ -71,7 +71,7 @@ GeneralConfigurationWidget::GeneralConfigurationWidget()
mDateFormatGroup
->
addButton
(
formatShortDate
,
Globals
::
ShortFormat
);
mDateFormatGroup
->
addButton
(
formatPreciseDate
,
Globals
::
PreciseFormat
);
connect
(
mDateFormatGroup
,
QOverload
<
QAbstractButton
*>::
of
(
&
QButtonGroup
::
buttonClicked
)
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
connect
(
mDateFormatGroup
,
&
QButtonGroup
::
buttonClicked
,
this
,
&
GeneralConfigurationWidget
::
configurationChanged
);
addDateFormatExample
();
}
...
...
src/modes/journald/journaldConfigurationWidget.cpp
View file @
37801d0b
...
...
@@ -38,7 +38,7 @@ JournaldConfigurationWidget::JournaldConfigurationWidget()
connect
(
remoteJournalsListWidget
,
&
QTableWidget
::
itemSelectionChanged
,
this
,
&
JournaldConfigurationWidget
::
updateButtons
);
connect
(
lastBootOnly
,
&
QCheckBox
::
stateChanged
,
this
,
&
JournaldConfigurationWidget
::
configurationChanged
);
connect
(
entriesTypeComboBox
,
QOverload
<
int
>::
of
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
JournaldConfigurationWidget
::
configurationChanged
);
connect
(
entriesTypeComboBox
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
JournaldConfigurationWidget
::
configurationChanged
);
connect
(
addAddressButton
,
&
QPushButton
::
clicked
,
this
,
&
JournaldConfigurationWidget
::
addRemoteJournal
);
connect
(
modifyAddressButton
,
&
QPushButton
::
clicked
,
this
,
&
JournaldConfigurationWidget
::
modifyRemoteJournal
);
...
...
src/statusBar.cpp
View file @
37801d0b
...
...
@@ -46,7 +46,7 @@ StatusBar::StatusBar(QWidget *parent)
mMessageList
=
new
QComboBox
(
this
);
mMessageList
->
setInsertPolicy
(
QComboBox
::
InsertAtTop
);
mMessageList
->
setMaxVisibleItems
(
5
);
connect
(
mMessageList
,
QOverload
<
int
>::
of
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
StatusBar
::
selectLastHistory
);
connect
(
mMessageList
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
StatusBar
::
selectLastHistory
);
addPermanentWidget
(
mMessageList
,
4
);
mLastModificationLabel
=
new
QLabel
(
this
);
...
...
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