Mercurial > minori
diff src/gui/window.cc @ 228:d030b30526d5
config: remove unused username parameter from anilist auth
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 09 Jan 2024 08:05:36 -0500 |
parents | f784b5b1914c |
children | ff0061e75f0f |
line wrap: on
line diff
--- a/src/gui/window.cc Mon Jan 08 21:30:18 2024 -0500 +++ b/src/gui/window.cc Tue Jan 09 08:05:36 2024 -0500 @@ -175,9 +175,11 @@ QDesktopServices::openUrl(QUrl::fromLocalFile(folder)); }); if (i < 9) - action->setShortcut(QKeySequence(Qt::ALT | (Qt::Key_1 + i++))); + action->setShortcut(QKeySequence(Qt::ALT | static_cast<Qt::Modifier>(Qt::Key_1 + i))); else if (i == 9) action->setShortcut(QKeySequence(Qt::ALT | Qt::Key_0)); + /* don't bother with a shortcut in case of more... */ + i++; } folder_menu->addSeparator();