mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
dont cache default background image, cmd+m minimizes window in os x
This commit is contained in:
@@ -60,6 +60,9 @@ namespace {
|
||||
App::wnd()->minimizeToTray();
|
||||
return true;
|
||||
}
|
||||
} else if (ev->key() == Qt::Key_M && (ev->modifiers() & (Qt::MetaModifier | Qt::ControlModifier))) {
|
||||
App::wnd()->setWindowState(Qt::WindowMinimized);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return QObject::eventFilter(o, e);
|
||||
|
||||
Reference in New Issue
Block a user