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
Utilities
Filelight
Commits
32be16a4
Commit
32be16a4
authored
Aug 30, 2021
by
Laurent Montel
😁
Browse files
We can use directly qOverload
parent
fa28b560
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainWindow.cpp
View file @
32be16a4
...
@@ -181,7 +181,7 @@ void MainWindow::setupActions() //singleton function
...
@@ -181,7 +181,7 @@ void MainWindow::setupActions() //singleton function
m_recentScans
->
loadEntries
(
KSharedConfig
::
openStateConfig
()
->
group
(
"general"
));
m_recentScans
->
loadEntries
(
KSharedConfig
::
openStateConfig
()
->
group
(
"general"
));
connect
(
m_recentScans
,
&
KRecentFilesAction
::
urlSelected
,
this
,
&
MainWindow
::
slotScanUrl
);
connect
(
m_recentScans
,
&
KRecentFilesAction
::
urlSelected
,
this
,
&
MainWindow
::
slotScanUrl
);
connect
(
m_combo
,
Q
Overload
<
const
QString
&>
::
of
(
&
KHistoryComboBox
::
returnPressed
),
this
,
&
MainWindow
::
slotComboScan
);
connect
(
m_combo
,
q
Overload
<
const
QString
&>
(
&
KHistoryComboBox
::
returnPressed
),
this
,
&
MainWindow
::
slotComboScan
);
connect
(
m_histories
,
&
HistoryCollection
::
activated
,
this
,
&
MainWindow
::
slotScanUrl
);
connect
(
m_histories
,
&
HistoryCollection
::
activated
,
this
,
&
MainWindow
::
slotScanUrl
);
}
}
...
...
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