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
Commits
01534f7f
Commit
01534f7f
authored
Jul 28, 2020
by
Antonio Larrosa Jimenez
Committed by
Antonio Larrosa Jimenez
Aug 03, 2020
Browse files
Use nullptr instead of 0L
Some habits are hard to break
parent
217fc7bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/storage/dbconfig.cpp
View file @
01534f7f
...
...
@@ -53,7 +53,7 @@ QString DbConfig::defaultAvailableDatabaseBackend(QSettings &settings)
{
QString
driverName
=
QStringLiteral
(
AKONADI_DATABASE_BACKEND
);
DbConfig
*
dbConfigFallbackTest
=
0L
;
DbConfig
*
dbConfigFallbackTest
=
nullptr
;
if
(
driverName
==
QLatin1String
(
"QMYSQL"
))
{
dbConfigFallbackTest
=
new
DbConfigMysql
;
}
else
if
(
driverName
==
QLatin1String
(
"QPSQL"
))
{
...
...
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