Commit 51b57ddf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Initialize variable in header class

parent 5c66cb39
Pipeline #34728 passed with stage
in 6 minutes and 31 seconds
......@@ -23,8 +23,8 @@ class Q_DECL_HIDDEN Blog::Private
QDateTime published;
QDateTime updated;
QUrl url;
uint postsCount;
uint pagesCount;
uint postsCount = 0;
uint pagesCount = 0;
QString language;
QString languageVariant;
QString country;
......@@ -32,8 +32,6 @@ class Q_DECL_HIDDEN Blog::Private
};
Blog::Private::Private()
: postsCount(0)
, pagesCount(0)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment