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