mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 15:34:16 +00:00
Use less intimidating icon for intermediate state
This commit is contained in:
parent
39c0c1a088
commit
cfcbe3d6e1
@ -240,7 +240,7 @@ void Private::FileLineEdit::keyPressEvent(QKeyEvent *e)
|
||||
if (lastState == QValidator::Invalid)
|
||||
m_warningAction->setIcon(style()->standardIcon(QStyle::SP_MessageBoxCritical));
|
||||
else if (lastState == QValidator::Intermediate)
|
||||
m_warningAction->setIcon(style()->standardIcon(QStyle::SP_MessageBoxWarning));
|
||||
m_warningAction->setIcon(style()->standardIcon(QStyle::SP_MessageBoxInformation));
|
||||
m_warningAction->setToolTip(warningText(lastTestResult));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user