Don't call static methods through an instance. NFC.

Found by clang-tidy.
pull/487/head
Ryan Pavlik 2019-08-20 14:42:38 -05:00 committed by whitequark
parent 219df31c53
commit 34dccbf935
2 changed files with 3 additions and 3 deletions

View File

@ -325,7 +325,7 @@ public:
void assignEntityDefaults(DRW_Entity *entity, hStyle hs) {
Style *s = Style::Get(hs);
RgbaColor color = s->Color(hs, /*forExport=*/true);
RgbaColor color = Style::Color(hs, /*forExport=*/true);
entity->color24 = color.ToPackedIntBGRA();
entity->color = findDxfColor(color);
entity->layer = s->DescriptionString();

View File

@ -1471,11 +1471,11 @@ void InitGui(int argc, char **argv) {
}
void RunGui() {
gtkMain->run();
Gtk::Main::run();
}
void ExitGui() {
gtkMain->quit();
Gtk::Main::quit();
}
void ClearGui() {