2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

fixed build for os x, only cmd+m, cmd+w now work, not ctrl+m, ctrl+w

This commit is contained in:
John Preston
2015-10-12 23:31:05 +02:00
parent fe9a1bc947
commit dc6f719d4d
7 changed files with 14 additions and 44 deletions

View File

@@ -431,7 +431,7 @@ void Window::init() {
App::app()->installEventFilter(this);
connect(windowHandle(), SIGNAL(windowStateChanged(Qt::WindowState)), this, SLOT(stateChanged(Qt::WindowState)));
connect(windowHandle(), SIGNAL(activeChanged()), this, SLOT(checkHistoryActivation()));
connect(windowHandle(), SIGNAL(activeChanged()), this, SLOT(checkHistoryActivation()), Qt::QueuedConnection);
QPalette p(palette());
p.setColor(QPalette::Window, st::wndBG->c);