aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvalidatedlineedit.cpp
diff options
context:
space:
mode:
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;
}