Unify Default Shortcuts

main
Chris Rizzitello 2023-10-10 09:32:30 -04:00 committed by jkennedyvz
parent 259d6b46e4
commit e1b2e5d5a0
1 changed files with 3 additions and 25 deletions

View File

@ -106,42 +106,20 @@ QString AppConfig::defaultValue(const QString &key)
if (key == CONFIG::SHORTCUT_CAPTURECLIPBOARD) {
if(!get()->appSettings->value(key).isValid())
#ifdef Q_OS_LINUX
return QStringLiteral("Meta+Alt+v");
#elif defined Q_OS_WIN
return QStringLiteral("Alt+v");
#elif defined Q_OS_MAC
return QStringLiteral("Option+v");
#endif
else
return QString();
return QString();
}
if(key == CONFIG::SHORTCUT_CAPTUREWINDOW) {
if(!get()->appSettings->value(key).isValid())
#ifdef Q_OS_LINUX
return QStringLiteral("Meta+Alt+4");
#elif defined Q_OS_WIN
return QStringLiteral("Alt+4");
#elif defined Q_OS_MAC
return QStringLiteral("Option+shift+4");
#endif
else
return QString();
return QString();
}
if(key == CONFIG::SHORTCUT_SCREENSHOT) {
if(!get()->appSettings->value(key).isValid())
#ifdef Q_OS_LINUX
return QStringLiteral("Meta+Alt+3");
#elif defined Q_OS_WIN
return QStringLiteral("Alt+3");
#elif defined Q_OS_MAC
return QStringLiteral("Option+shift+3");
#endif
else
return QString();
return QString();
}
if(key == CONFIG::COMMAND_SCREENSHOT)