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
PIM
Akonadi Console
Commits
120a9647
Commit
120a9647
authored
Aug 30, 2021
by
Laurent Montel
😁
Browse files
Use qOverload directly (scripted)
parent
6cead5e4
Pipeline
#77319
passed with stage
in 5 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/jobtrackersearchwidget.cpp
View file @
120a9647
...
...
@@ -41,7 +41,7 @@ JobTrackerSearchWidget::JobTrackerSearchWidget(QWidget *parent)
mSelectColumn
->
addItem
(
QStringLiteral
(
"Job Type"
),
4
);
mSelectColumn
->
addItem
(
QStringLiteral
(
"State"
),
5
);
mSelectColumn
->
addItem
(
QStringLiteral
(
"Info"
),
6
);
connect
(
mSelectColumn
,
Q
Overload
<
int
>
::
of
(
&
QComboBox
::
currentIndexChanged
),
this
,
&
JobTrackerSearchWidget
::
slotColumnChanged
);
connect
(
mSelectColumn
,
q
Overload
<
int
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
&
JobTrackerSearchWidget
::
slotColumnChanged
);
}
JobTrackerSearchWidget
::~
JobTrackerSearchWidget
()
...
...
src/searchwidget.cpp
View file @
120a9647
...
...
@@ -101,7 +101,7 @@ SearchWidget::SearchWidget(QWidget *parent)
connect
(
button
,
&
QPushButton
::
clicked
,
this
,
&
SearchWidget
::
search
);
connect
(
mDatabaseView
,
&
QListView
::
activated
,
this
,
&
SearchWidget
::
fetchItem
);
connect
(
mStoreCombo
,
Q
Overload
<
int
>
::
of
(
&
KComboBox
::
currentIndexChanged
),
this
,
&
SearchWidget
::
openStore
);
connect
(
mStoreCombo
,
q
Overload
<
int
>
(
&
KComboBox
::
currentIndexChanged
),
this
,
&
SearchWidget
::
openStore
);
openStore
(
0
);
...
...
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