aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvalidatedlineedit.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 18:39:52 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 18:39:52 +0200
commitbbae0fc9efa6eb7155d679a1cc3eeb451d594d14 (patch)
tree516d2f264cd035a2cc92f0ca98ea99c2f1cede8b /src/qt/qvalidatedlineedit.cpp
parentdaa1a7398fc1c6a70c9253ee7c5825674e7ba378 (diff)
put color constants in guiconstants.h
Diffstat (limited to 'src/qt/qvalidatedlineedit.cpp')
-rw-r--r--src/qt/qvalidatedlineedit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/qvalidatedlineedit.cpp b/src/qt/qvalidatedlineedit.cpp
index 2430cc9fb5..8ca230c9d7 100644
--- a/src/qt/qvalidatedlineedit.cpp
+++ b/src/qt/qvalidatedlineedit.cpp
@@ -1,5 +1,7 @@
#include "qvalidatedlineedit.h"
+#include "guiconstants.h"
+
QValidatedLineEdit::QValidatedLineEdit(QWidget *parent) :
QLineEdit(parent), valid(true)
{
@@ -19,7 +21,7 @@ void QValidatedLineEdit::setValid(bool valid)
}
else
{
- setStyleSheet("background:#FF8080");
+ setStyleSheet(STYLE_INVALID);
}
this->valid = valid;
}