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