summaryrefslogtreecommitdiff
path: root/client/resumewidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/resumewidget.cc')
-rw-r--r--client/resumewidget.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/client/resumewidget.cc b/client/resumewidget.cc
index ac18578..81e3f2c 100644
--- a/client/resumewidget.cc
+++ b/client/resumewidget.cc
@@ -83,7 +83,7 @@ static QString reformatString(QString help)
return output;
}
-void ResumeWidget::setText(QString text)
+void ResumeWidget::setText(QString text, state_t state)
{
QString f;
@@ -120,6 +120,17 @@ void ResumeWidget::setText(QString text)
}
}
+ switch(state) {
+ case NEW:
+ f = "<font style='color: #00F;'>" + f + "</font>";
+ break;
+ case OLD:
+ break;
+ case DIRTY:
+ f = "<font style='color: #F00;'>" + f + "</font>";
+ break;
+ }
+
resume->setText(f);
}