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:
@@ -88,7 +88,7 @@ void QGIEdge::setPrettyNormal() {
|
||||
|
||||
QColor QGIEdge::getHiddenColor()
|
||||
{
|
||||
App::Color fcColor = App::Color((uint32_t) Preferences::getPreferenceGroup("Colors")->GetUnsigned("HiddenColor", 0x000000FF));
|
||||
Base::Color fcColor = Base::Color((uint32_t) Preferences::getPreferenceGroup("Colors")->GetUnsigned("HiddenColor", 0x000000FF));
|
||||
return PreferencesGui::getAccessibleQColor(fcColor.asValue<QColor>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user