1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Merge pull request #12187 from NotTsunami/keypress

Allow other keypresses in LogListWidget
This commit is contained in:
Mike Tzou 2020-03-19 13:36:41 +08:00 committed by GitHub
commit 4884f08e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,8 +72,8 @@ void LogListWidget::keyPressEvent(QKeyEvent *event)
{
if (event->matches(QKeySequence::Copy))
copySelection();
else if (event->matches(QKeySequence::SelectAll))
selectAll();
else
QListWidget::keyPressEvent(event);
}
void LogListWidget::appendLine(const QString &line, const Log::MsgType &type)