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
KBlog
Commits
c4951c22
Commit
c4951c22
authored
Dec 30, 2019
by
Laurent Montel
😁
Browse files
Make it compiles against qt5.15 (endl other other use Qt:: namespace now)
parent
ef7c0315
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/blogger1.cpp
View file @
c4951c22
...
...
@@ -465,8 +465,20 @@ bool Blogger1Private::readPostFromMap(
return
false
;
}
qCDebug
(
KBLOG_LOG
)
<<
endl
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
<<
endl
;
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
;
QDateTime
dt
=
postInfo
[
QStringLiteral
(
"dateCreated"
)].
toDateTime
();
if
(
dt
.
isValid
()
&&
!
dt
.
isNull
())
{
...
...
src/metaweblog.cpp
View file @
c4951c22
...
...
@@ -268,8 +268,20 @@ bool MetaWeblogPrivate::readPostFromMap(BlogPost *post,
return
false
;
}
qCDebug
(
KBLOG_LOG
)
<<
endl
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
<<
endl
;
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
;
QDateTime
dt
=
postInfo
[
QStringLiteral
(
"dateCreated"
)].
toDateTime
();
if
(
dt
.
isValid
()
&&
!
dt
.
isNull
())
{
...
...
src/movabletype.cpp
View file @
c4951c22
...
...
@@ -460,8 +460,20 @@ bool MovableTypePrivate::readPostFromMap(BlogPost *post, const QMap<QString, QVa
return
false
;
}
qCDebug
(
KBLOG_LOG
)
<<
endl
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
<<
endl
;
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
<<
"Keys:"
<<
QStringList
(
postInfo
.
keys
()).
join
(
QLatin1String
(
", "
));
qCDebug
(
KBLOG_LOG
)
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<<
endl
#else
<<
Qt
::
endl
#endif
;
QDateTime
dt
=
postInfo
[
QStringLiteral
(
"dateCreated"
)].
toDateTime
();
if
(
dt
.
isValid
()
&&
!
dt
.
isNull
())
{
...
...
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