mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00: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