Merge pull request #923 from poixen/popup_fix

Fixed issue with clicking on PM/mention bubbles
This commit is contained in:
poixen 2015-04-10 10:36:20 +02:00
commit ebcee34e0d
9 changed files with 22 additions and 5 deletions

View file

@ -409,6 +409,7 @@ MainWindow::MainWindow(QWidget *parent)
tabSupervisor = new TabSupervisor(client);
connect(tabSupervisor, SIGNAL(setMenu(QList<QMenu *>)), this, SLOT(updateTabMenu(QList<QMenu *>)));
connect(tabSupervisor, SIGNAL(localGameEnded()), this, SLOT(localGameEnded()));
connect(tabSupervisor, SIGNAL(maximize()), this, SLOT(maximize()));
tabSupervisor->addDeckEditorTab(0);
setCentralWidget(tabSupervisor);
@ -508,3 +509,7 @@ void MainWindow::pixmapCacheSizeChanged(int newSizeInMBs)
// translate MBs to KBs
QPixmapCache::setCacheLimit(newSizeInMBs * 1024);
}
void MainWindow::maximize() {
showNormal();
}