Commit 8c7e2663 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

initialize variables in headers

parent 220be9f3
Pipeline #83854 passed with stage
in 9 minutes and 58 seconds
......@@ -18,13 +18,6 @@ using namespace Akregator;
NotificationManager::NotificationManager(QObject *parent)
: QObject(parent)
{
m_intervalsLapsed = 0;
m_checkInterval = 2000;
m_maxIntervals = 10;
m_running = false;
m_addedInLastInterval = false;
m_maxArticles = 20;
m_widget = nullptr;
}
NotificationManager::~NotificationManager()
......
......@@ -52,10 +52,10 @@ private:
{
}
int m_checkInterval;
int m_intervalsLapsed;
int m_maxIntervals;
int m_maxArticles;
int m_checkInterval = 0;
int m_intervalsLapsed = 2000;
int m_maxIntervals = 10;
int m_maxArticles = 20;
bool m_running = false;
bool m_addedInLastInterval = false;
QWidget *m_widget = nullptr;
......
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