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
Kontact
Commits
7f314bf2
Commit
7f314bf2
authored
Nov 25, 2020
by
Laurent Montel
😁
Browse files
Pedantic
parent
6c8dc158
Pipeline
#42048
passed with stage
in 9 minutes and 36 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/iconsidepane.cpp
View file @
7f314bf2
...
...
@@ -111,7 +111,7 @@ public:
QModelIndex
index
(
int
row
,
int
column
,
const
QModelIndex
&
parent
=
QModelIndex
())
const
override
{
Q_UNUSED
(
parent
)
;
Q_UNUSED
(
parent
)
if
(
row
<
0
||
row
>=
pluginList
.
count
())
{
return
QModelIndex
();
}
...
...
@@ -586,7 +586,7 @@ void IconSidePane::updatePlugins()
void
IconSidePane
::
resizeEvent
(
QResizeEvent
*
event
)
{
Q_UNUSED
(
event
)
;
Q_UNUSED
(
event
)
const
int
newWidth
(
mNavigator
->
sizeHint
().
width
());
setFixedWidth
(
newWidth
);
mNavigator
->
setFixedWidth
(
newWidth
);
...
...
src/main.cpp
View file @
7f314bf2
...
...
@@ -102,7 +102,7 @@ static void loadCommandLineOptions(QCommandLineParser *parser)
int
KontactApp
::
activate
(
const
QStringList
&
args
,
const
QString
&
workingDir
)
{
Q_UNUSED
(
workingDir
)
;
Q_UNUSED
(
workingDir
)
QCommandLineParser
parser
;
loadCommandLineOptions
(
&
parser
);
...
...
src/mainwindow.cpp
View file @
7f314bf2
...
...
@@ -519,7 +519,7 @@ void MainWindow::addPlugin(KontactInterface::Plugin *plugin)
void
MainWindow
::
partLoaded
(
KontactInterface
::
Plugin
*
plugin
,
KParts
::
Part
*
part
)
{
Q_UNUSED
(
plugin
)
;
Q_UNUSED
(
plugin
)
// See if we have this part already (e.g. due to two plugins sharing it)
if
(
mPartsStack
->
indexOf
(
part
->
widget
())
!=
-
1
)
{
...
...
src/webengine/introductionwebenginepage.cpp
View file @
7f314bf2
...
...
@@ -46,8 +46,8 @@ bool IntroductionWebEnginePage::acceptNavigationRequest(const QUrl &url, Navigat
if
(
url
.
scheme
()
==
QLatin1String
(
"data"
))
{
return
true
;
}
Q_UNUSED
(
type
)
;
Q_UNUSED
(
isMainFrame
)
;
Q_UNUSED
(
type
)
Q_UNUSED
(
isMainFrame
)
Q_EMIT
urlClicked
(
url
);
return
false
;
}
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