diff --git a/src/kiwixapp.cpp b/src/kiwixapp.cpp index 58fe0e5..bbf7b86 100644 --- a/src/kiwixapp.cpp +++ b/src/kiwixapp.cpp @@ -385,16 +385,12 @@ void KiwixApp::createActions() if (QGuiApplication::isLeftToRight()) { CREATE_ACTION_ICON_SHORTCUT(HistoryBackAction, "history-left", gt("back"), QKeySequence(Qt::ALT | Qt::Key_Left)); - } else { - CREATE_ACTION_ICON_SHORTCUT(HistoryBackAction, "history-right", gt("back"), QKeySequence(Qt::ALT | Qt::Key_Right)); - } - DISABLE_ACTION(HistoryBackAction); - - if (QGuiApplication::isLeftToRight()) { CREATE_ACTION_ICON_SHORTCUT(HistoryForwardAction, "history-right", gt("forward"), QKeySequence(Qt::ALT | Qt::Key_Right)); } else { + CREATE_ACTION_ICON_SHORTCUT(HistoryBackAction, "history-right", gt("back"), QKeySequence(Qt::ALT | Qt::Key_Right)); CREATE_ACTION_ICON_SHORTCUT(HistoryForwardAction, "history-left", gt("forward"), QKeySequence(Qt::ALT | Qt::Key_Left)); } + DISABLE_ACTION(HistoryBackAction); DISABLE_ACTION(HistoryForwardAction); CREATE_ACTION_ICON_SHORTCUT(PrintAction, "print", gt("print"), QKeySequence::Print);