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:
parent
56ae9e657f
commit
84814e28e3
|
@ -201,7 +201,7 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (selectedItem == aboutWindow) {
|
else if (selectedItem == aboutWindow) {
|
||||||
AboutUser *aboutUser = new AboutUser(id, this);
|
AboutUser *aboutUser = new AboutUser(id, Widget::getInstance());
|
||||||
aboutUser->setFriend(FriendList::findFriend(friendId));
|
aboutUser->setFriend(FriendList::findFriend(friendId));
|
||||||
aboutUser->show();
|
aboutUser->show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user