mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix Colors.cpp compile warnings
.. they hide real issues.
This commit is contained in:
@@ -381,7 +381,7 @@ GCColor::themes()
|
||||
return allThemes;
|
||||
}
|
||||
|
||||
ColorEngine::ColorEngine(GlobalContext *gc) : gc(gc), defaultColor(QColor(Qt::white))
|
||||
ColorEngine::ColorEngine(GlobalContext *gc) : defaultColor(QColor(Qt::white)), gc(gc)
|
||||
{
|
||||
configChanged(CONFIG_NOTECOLOR);
|
||||
connect(gc, SIGNAL(configChanged(qint32)), this, SLOT(configChanged(qint32)));
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <QObject>
|
||||
#include <QColor>
|
||||
#include <QLabel>
|
||||
#include <QGradient>
|
||||
#include <QLinearGradient>
|
||||
|
||||
|
||||
// A selection of distinct colours, user can adjust also
|
||||
|
||||
Reference in New Issue
Block a user