Skip to content

Commit eec5d9f

Browse files
committed
Correct some static analysis warnings
1 parent c2d2c73 commit eec5d9f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ui/history/HistoryMenu.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@
1010

1111
HistoryMenu::HistoryMenu(QWidget *parent) :
1212
QMenu(parent),
13+
m_historyManager(nullptr),
14+
m_faviconStore(nullptr),
1315
m_actionShowHistory(nullptr),
1416
m_actionClearHistory(nullptr)
1517
{
1618
}
1719

1820
HistoryMenu::HistoryMenu(const QString &title, QWidget *parent) :
19-
QMenu(title, parent)
21+
QMenu(title, parent),
22+
m_historyManager(nullptr),
23+
m_faviconStore(nullptr),
24+
m_actionShowHistory(nullptr),
25+
m_actionClearHistory(nullptr)
2026
{
2127
}
2228

0 commit comments

Comments
 (0)