Commit 09df31fe authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Remove un-needed semi-colons

parent b6973dfe
......@@ -399,7 +399,7 @@ void ProfileManager::changeProfile(Profile::Ptr profile,
} else {
newProfile = profile;
};
}
// insert the changes into the existing Profile instance
QListIterator<Profile::Property> iter(propertyMap.keys());
......
......@@ -3957,7 +3957,7 @@ bool AutoScrollHandler::eventFilter(QObject* watched, QEvent* event)
}
default:
break;
};
}
return false;
}
......
......@@ -956,7 +956,7 @@ void Vt102Emulation::processToken(int token, int p, int q)
default:
reportDecodingError();
break;
};
}
}
void Vt102Emulation::clearScreenAndSetColumns(int columnCount)
......
......@@ -58,7 +58,7 @@ void KeyboardTranslatorTest::testEntryTextWildcards_data()
QTest::newRow("E* yes wildcards Control modifiers")<< entry[0] << entry[4] << true << Qt::KeyboardModifiers(Qt::ControlModifier);
// combinations
entry.clear();;
entry.clear();
entry << QByteArray("E*") << QByteArray("E4") << QByteArray("E6") << QByteArray("E8") << QByteArray("E7");
QTest::newRow("E* yes wildcards Shift+Alt modifiers")<< entry[0] << entry[1] << true << Qt::KeyboardModifiers(Qt::ShiftModifier | Qt::AltModifier);
QTest::newRow("E* yes wildcards Shift+Control modifiers")<< entry[0] << entry[2] << true << Qt::KeyboardModifiers(Qt::ShiftModifier | Qt::ControlModifier);
......@@ -66,7 +66,7 @@ void KeyboardTranslatorTest::testEntryTextWildcards_data()
QTest::newRow("E* yes wildcards Alt+Control modifiers")<< entry[0] << entry[4] << true << Qt::KeyboardModifiers(Qt::AltModifier | Qt::ControlModifier);
// text, results: no mod, shift, alt, control
entry.clear();;
entry.clear();
entry << QByteArray("\033[24;*~") << QByteArray("\033[24;1~") << QByteArray("\033[24;2~") << QByteArray("\033[24;3~") << QByteArray("\033[24;5~");
QTest::newRow("\033[24;*~ yes wildcards no modifiers")<< entry[0] << entry[1] << true << Qt::KeyboardModifiers(Qt::NoModifier);
QTest::newRow("\033[24;*~ yes wildcards Shift modifiers")<< entry[0] << entry[2] << true << Qt::KeyboardModifiers(Qt::ShiftModifier);
......@@ -74,7 +74,7 @@ void KeyboardTranslatorTest::testEntryTextWildcards_data()
QTest::newRow("\033[24;*~ yes wildcards Control modifiers")<< entry[0] << entry[4] << true << Qt::KeyboardModifiers(Qt::ControlModifier);
// combinations
entry.clear();;
entry.clear();
entry << QByteArray("\033[24;*~") << QByteArray("\033[24;4~") << QByteArray("\033[24;6~") << QByteArray("\033[24;8~") << QByteArray("\033[24;7~");
QTest::newRow("\033[24;*~ yes wildcards Shift+Alt modifiers")<< entry[0] << entry[1] << true << Qt::KeyboardModifiers(Qt::ShiftModifier | Qt::AltModifier);
QTest::newRow("\033[24;*~ yes wildcards Shift+Control modifiers")<< entry[0] << entry[2] << true << Qt::KeyboardModifiers(Qt::ShiftModifier | Qt::ControlModifier);
......
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