Commit 5de09a79 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Port from QKeySequence operator+ to operator|

The former is gone in Qt 6.
parent 9f8a4868
......@@ -681,22 +681,22 @@ void KImageMapEditor::setupActions()
increaseWidthAction = new QAction(i18n("Increase Width"), this);
actionCollection()->addAction("increasewidth", increaseWidthAction );
connect(increaseWidthAction, SIGNAL(triggered(bool)), SLOT(slotIncreaseWidth()));
actionCollection()->setDefaultShortcut(increaseWidthAction, QKeySequence(Qt::Key_Right + Qt::SHIFT));
actionCollection()->setDefaultShortcut(increaseWidthAction, QKeySequence(Qt::Key_Right | Qt::SHIFT));
decreaseWidthAction = new QAction(i18n("Decrease Width"), this);
actionCollection()->addAction("decreasewidth", decreaseWidthAction );
connect(decreaseWidthAction, SIGNAL(triggered(bool)), SLOT(slotDecreaseWidth()));
actionCollection()->setDefaultShortcut(decreaseWidthAction, QKeySequence(Qt::Key_Left + Qt::SHIFT));
actionCollection()->setDefaultShortcut(decreaseWidthAction, QKeySequence(Qt::Key_Left | Qt::SHIFT));
increaseHeightAction = new QAction(i18n("Increase Height"), this);
actionCollection()->addAction("increaseheight", increaseHeightAction );
connect(increaseHeightAction, SIGNAL(triggered(bool)), SLOT(slotIncreaseHeight()));
actionCollection()->setDefaultShortcut(increaseHeightAction, QKeySequence(Qt::Key_Up + Qt::SHIFT));
actionCollection()->setDefaultShortcut(increaseHeightAction, QKeySequence(Qt::Key_Up | Qt::SHIFT));
decreaseHeightAction = new QAction(i18n("Decrease Height"), this);
actionCollection()->addAction("decreaseheight", decreaseHeightAction );
connect(decreaseHeightAction, SIGNAL(triggered(bool)), SLOT(slotDecreaseHeight()));
actionCollection()->setDefaultShortcut(decreaseHeightAction, QKeySequence(Qt::Key_Down + Qt::SHIFT));
actionCollection()->setDefaultShortcut(decreaseHeightAction, QKeySequence(Qt::Key_Down | Qt::SHIFT));
toFrontAction = new QAction(i18n("Bring to Front"), this);
actionCollection()->addAction("tofront", toFrontAction );
......
Supports Markdown
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