useractions: Also adapt weird formatted for loop
GIT_SILENT
This commit is contained in:
parent
bffff9470d
commit
f9aa624d5b
1 changed files with 1 additions and 3 deletions
|
@ -1799,9 +1799,7 @@ void Window::setShortcut(const QString &_cut)
|
||||||
if (match.hasMatch()) {
|
if (match.hasMatch()) {
|
||||||
const QString base = match.captured(1);
|
const QString base = match.captured(1);
|
||||||
const QString list = match.captured(2);
|
const QString list = match.captured(2);
|
||||||
for (int i = 0;
|
for (int i = 0; i < list.length(); ++i) {
|
||||||
i < list.length();
|
|
||||||
++i) {
|
|
||||||
QKeySequence c(base + list[i]);
|
QKeySequence c(base + list[i]);
|
||||||
if (!c.isEmpty()) {
|
if (!c.isEmpty()) {
|
||||||
keys.append(c);
|
keys.append(c);
|
||||||
|
|
Loading…
Reference in a new issue