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
PIM Messagelib
Commits
a45762a9
Commit
a45762a9
authored
Mar 15, 2017
by
Laurent Montel
😁
Browse files
Use nullptr
parent
09766850
Changes
2
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/viewer/pluginloader.h
View file @
a45762a9
...
...
@@ -112,7 +112,7 @@ public:
{
auto
main_func
=
mainFunc
(
type
,
T_config
::
mainfunc
);
if
(
!
main_func
)
{
return
0
;
return
nullptr
;
}
// cast to a pointer to a function returning T*, call it and
...
...
messageviewer/src/viewer/viewer.cpp
View file @
a45762a9
...
...
@@ -502,7 +502,7 @@ QAbstractItemModel *Viewer::messageTreeModel() const
#ifndef QT_NO_TREEVIEW
return
d_func
()
->
mMimePartTree
->
mimePartModel
();
#else
return
0
;
return
nullptr
;
#endif
}
...
...
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