1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Try to prevent nullptr dereference of icon

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2015-02-05 18:27:28 +01:00
parent 82c881ff49
commit dc5e32a26c
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -67,7 +67,8 @@ Widget::Widget(QWidget *parent)
ui(new Ui::MainWindow),
activeChatroomWidget{nullptr},
eventFlag(false),
eventIcon(false)
eventIcon(false),
icon{nullptr}
{
translator = new QTranslator;
setTranslation();