summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/text/qcssparser_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qcssparser_p.h b/src/gui/text/qcssparser_p.h
index 732164c..c685b08 100644
--- a/src/gui/text/qcssparser_p.h
+++ b/src/gui/text/qcssparser_p.h
@@ -369,7 +369,7 @@ struct Q_GUI_EXPORT Value
struct ColorData {
ColorData() : role(QPalette::NoRole), type(Invalid) {}
- ColorData(const QColor &col) : role(QPalette::NoRole), color(col), type(Color) {}
+ ColorData(const QColor &col) : color(col), role(QPalette::NoRole), type(Color) {}
ColorData(QPalette::ColorRole r) : role(r), type(Role) {}
QColor color;
QPalette::ColorRole role;