Commit b5e0eb87 authored by David Faure's avatar David Faure
Browse files

Fix next/prev swap in previous commit

parent ed10d892
......@@ -274,15 +274,15 @@ void Pane::setXmlGuiClient(KXMLGUIClient *xmlGuiClient)
QString nextIcon, prevIcon;
if (QApplication::isRightToLeft())
{
prevShortcut.append(KStandardShortcut::tabPrev());
nextShortcut.append(KStandardShortcut::tabNext());
nextShortcut.append(KStandardShortcut::tabPrev());
prevShortcut.append(KStandardShortcut::tabNext());
nextIcon = QStringLiteral("go-previous-view");
prevIcon = QStringLiteral("go-next-view");
}
else
{
nextShortcut.append(KStandardShortcut::tabPrev());
prevShortcut.append(KStandardShortcut::tabNext());
nextShortcut.append(KStandardShortcut::tabNext());
prevShortcut.append(KStandardShortcut::tabPrev());
nextIcon = QStringLiteral("go-next-view");
prevIcon = QStringLiteral("go-previous-view");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment