1
0
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:
Chocobo1 2022-07-19 01:19:39 +08:00
parent 39c0c1a088
commit cfcbe3d6e1
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -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));
}
}