2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Fixed alpha 0.10.23 build for Linux.

This commit is contained in:
John Preston
2017-01-01 21:49:44 +04:00
parent a86c85485a
commit 72e34dc5b1
5 changed files with 9 additions and 8 deletions

View File

@@ -63,8 +63,7 @@ void Manager::notificationActivated(PeerId peerId, MsgId msgId) {
auto history = App::history(peerId);
window->showFromTray();
#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64
window->onReActivate();
QTimer::singleShot(200, window, SLOT(onReActivate()));
window->reActivateWindow();
#endif
if (App::passcoded()) {
window->setInnerFocus();