Commit 565c1654 authored by Don Gagne's avatar Don Gagne

Correctly init _colorGroup

parent 5cd0593e
......@@ -47,7 +47,8 @@ QColor QGCPalette::_window[QGCPalette::_cColorGroups];
QColor QGCPalette::_windowText[QGCPalette::_cColorGroups];
QGCPalette::QGCPalette(QObject* parent) :
QObject(parent)
QObject(parent),
_colorGroup(Active)
{
if (!_paletteLoaded) {
_paletteLoaded = true;
......
......@@ -55,7 +55,7 @@ class QGCPalette : public QObject
public:
enum ColorGroup {
Disabled,
Disabled = 0,
Active,
Inactive
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment