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

Set widget as parent for AboutUser window to fix style inheriting

This commit is contained in:
agilob 2015-12-05 14:18:43 +00:00
parent 56ae9e657f
commit 84814e28e3
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -201,7 +201,7 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event)
}
}
else if (selectedItem == aboutWindow) {
AboutUser *aboutUser = new AboutUser(id, this);
AboutUser *aboutUser = new AboutUser(id, Widget::getInstance());
aboutUser->setFriend(FriendList::findFriend(friendId));
aboutUser->show();
}