Browse Source

Use less intimidating icon for intermediate state

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
cfcbe3d6e1
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/fspathedit_p.cpp

2
src/gui/fspathedit_p.cpp

@ -240,7 +240,7 @@ void Private::FileLineEdit::keyPressEvent(QKeyEvent *e) @@ -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…
Cancel
Save