Remove the left-over & unused code for supporting "Scroll Lock" key

It is decided to not reimplement this feature in KDE4 konsole:

  * It is non-trivial work to implement it correctly
  * It annoyed some users when it was available in KDE3 konsole
  * Not many users want this feature back

This is a follow up of commit cee0ce539b

CCBUG:172271
REVIEW:104156
This commit is contained in:
Jekyll Wu
2012-03-02 00:30:31 +08:00
parent 52406f651d
commit 78dbf8f1c1
14 changed files with 0 additions and 220 deletions

View File

@@ -293,8 +293,6 @@ bool KeyboardTranslatorReader::parseAsCommand(const QString& text, KeyboardTrans
command = KeyboardTranslator::ScrollUpToTopCommand;
else if (text.compare("scrolldowntobottom", Qt::CaseInsensitive) == 0)
command = KeyboardTranslator::ScrollDownToBottomCommand;
else if (text.compare("scrolllock", Qt::CaseInsensitive) == 0)
command = KeyboardTranslator::ScrollLockCommand;
else
return false;
@@ -734,8 +732,6 @@ QString KeyboardTranslator::Entry::resultToString(bool expandWildCards,
return "ScrollUpToTop";
else if (_command == ScrollDownToBottomCommand)
return "ScrollDownToBottom";
else if (_command == ScrollLockCommand)
return "ScrollLock";
return QString();
}