Skip to content
Snippets Groups Projects
Commit b8e2f5e6 authored by SeeLook's avatar SeeLook
Browse files

Status tips works as intended at last

parent cfbe5268
No related branches found
No related tags found
No related merge requests found
1.3.0 alpha 1.3.0 alpha1
- removed roundness of widget/tips - removed roundness of widget/tips
- prepared code for further features - prepared code for further features
Under the hood Under the hood
- reorganized layout of libraries, exam execution moved to plugin - reorganized layout of libraries, score is in separate lib
- exam execution moved to plugin
1.2A.4 beta2 1.2A.4 beta2
ANDROID ANDROID
......
...@@ -86,12 +86,12 @@ void TstatusLabel::setBackground(const QColor& bg) { ...@@ -86,12 +86,12 @@ void TstatusLabel::setBackground(const QColor& bg) {
void TstatusLabel::messageSlot(const QString& msg) { void TstatusLabel::messageSlot(const QString& msg) {
if (msg.isEmpty()) { // restore previous message if (msg.isEmpty()) { // restore previous message
setBackground(m_prevBg); setBackground(m_prevBg);
setMessage(m_text); TroundedLabel::setText(center(m_text));
m_prevText = m_text; m_prevText = m_text;
} else { } else {
m_prevBg = m_currentBg; m_prevBg = m_currentBg;
setBackground(-1); setBackground(-1);
setMessage(msg); TroundedLabel::setText(center(msg));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment