mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user