Fix unitialized scalar fields

This commit is contained in:
Vladimir Golovnev (Glassez) 2016-01-13 19:42:58 +03:00
parent 4965704b10
commit c6ca877b72
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ DownloadRule::DownloadRule()
: m_enabled(false)
, m_useRegex(false)
, m_apstate(USE_GLOBAL)
, m_ignoreDays(0)
{
}

View File

@ -72,6 +72,9 @@
SearchWidget::SearchWidget(MainWindow *mainWindow)
: QWidget(mainWindow)
, m_mainWindow(mainWindow)
, m_isNewQueryString(false)
, m_noSearchResults(true)
, m_nbSearchResults(0)
{
setupUi(this);