Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as one that does not. Moving it to Base opens possibilities to integrate it better with the rest of FreeCAD.
This commit is contained in:
@@ -477,7 +477,7 @@ void QGTracker::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
||||
|
||||
QColor QGTracker::getTrackerColor()
|
||||
{
|
||||
App::Color trackColor = App::Color((uint32_t) Preferences::getPreferenceGroup("Tracker")->GetUnsigned("TrackerColor", 0xFF000000));
|
||||
Base::Color trackColor = Base::Color((uint32_t) Preferences::getPreferenceGroup("Tracker")->GetUnsigned("TrackerColor", 0xFF000000));
|
||||
return PreferencesGui::getAccessibleQColor(trackColor.asValue<QColor>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user