Parent UserInformation to g.mw; fixes overlay bug

This commit is contained in:
Thorvald Natvig 2010-03-08 14:00:09 +01:00
parent ec6b3c68e1
commit 94a8d140cd

View File

@ -688,7 +688,7 @@ void MainWindow::msgUserStats(const MumbleProto::UserStats &msg) {
if (ui) {
ui->update(msg);
} else {
ui = new UserInformation(msg);
ui = new UserInformation(msg, g.mw);
ui->setAttribute(Qt::WA_DeleteOnClose, true);
connect(ui, SIGNAL(destroyed()), this, SLOT(destroyUserInformation()));