Fixed issue with clicking on PM bubbles

Previously would not open the client if the window was minimized.
Added the same popup fix for mentions
This commit is contained in:
Matt Lowe 2015-04-07 23:09:51 +02:00
parent c07ec9aa23
commit 6b307469fe
9 changed files with 22 additions and 5 deletions

View file

@ -408,6 +408,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);
@ -507,3 +508,7 @@ void MainWindow::pixmapCacheSizeChanged(int newSizeInMBs)
// translate MBs to KBs
QPixmapCache::setCacheLimit(newSizeInMBs * 1024);
}
void MainWindow::maximize() {
showNormal();
}