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
PIM
Kontact
Commits
8446b4f8
Commit
8446b4f8
authored
Dec 02, 2021
by
Laurent Montel
Browse files
Use debug categories, add missing Q_REQUIRED_RESULT, add explicit
parent
33a666d8
Pipeline
#104225
passed with stage
in 46 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/iconsidepane.h
View file @
8446b4f8
...
...
@@ -37,17 +37,17 @@ public:
void
updatePlugins
(
const
QList
<
KontactInterface
::
Plugin
*>
&
plugins
);
void
setCurrentPlugin
(
const
QString
&
plugin
);
int
iconSize
()
const
Q_REQUIRED_RESULT
int
iconSize
()
const
{
return
mIconSize
;
}
bool
showIcons
()
const
Q_REQUIRED_RESULT
bool
showIcons
()
const
{
return
mShowIcons
;
}
bool
showText
()
const
Q_REQUIRED_RESULT
bool
showText
()
const
{
return
mShowText
;
}
...
...
@@ -57,7 +57,7 @@ public:
mMainWindow
=
mainWindow
;
}
MainWindow
*
mainWindow
()
Q_REQUIRED_RESULT
MainWindow
*
mainWindow
()
{
return
mMainWindow
;
}
...
...
src/mainwindow.cpp
View file @
8446b4f8
...
...
@@ -116,7 +116,7 @@ void MainWindow::initGUI()
Q_ASSERT
(
navigatorToolBar
->
sizeHint
().
isValid
());
navigatorToolBar
->
setMinimumWidth
(
navigatorToolBar
->
sizeHint
().
width
());
}
else
{
qCritical
()
<<
"Unable to find navigatorToolBar, probably kontactui.rc is missing"
;
qC
C
ritical
(
KONTACT_LOG
)
<<
"Unable to find navigatorToolBar, probably kontactui.rc is missing"
;
}
}
...
...
src/mainwindow.h
View file @
8446b4f8
...
...
@@ -38,7 +38,7 @@ public:
MainWindow
();
~
MainWindow
()
override
;
PluginList
pluginList
()
const
override
Q_REQUIRED_RESULT
PluginList
pluginList
()
const
override
{
return
mPlugins
;
}
...
...
src/sidepanebase.h
View file @
8446b4f8
...
...
@@ -23,7 +23,7 @@ class SidePaneBase : public QWidget
Q_OBJECT
public:
SidePaneBase
(
KontactInterface
::
Core
*
core
,
QWidget
*
parent
);
explicit
SidePaneBase
(
KontactInterface
::
Core
*
core
,
QWidget
*
parent
);
~
SidePaneBase
()
override
;
virtual
void
setCurrentPlugin
(
const
QString
&
)
=
0
;
...
...
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