mirror of
https://github.com/edubart/otclient.git
synced 2025-12-15 05:09:46 +01:00
Compile with clang and add cotire
* Add cotire cmake module to speedup compilation https://github.com/sakra/cotire * Fix clang error and warnings * Rename Font to BitmapFont to fix conflict with Xlib.g Font typedef * Remove legacy PCH support * Improve Position hash
This commit is contained in:
@@ -1208,7 +1208,7 @@ void UIWidget::updateState(Fw::WidgetState state)
|
||||
newStatus = false;
|
||||
break;
|
||||
}
|
||||
} while(widget = parent);
|
||||
} while((widget = parent));
|
||||
|
||||
updateChildren = newStatus != oldStatus;
|
||||
break;
|
||||
@@ -1237,7 +1237,7 @@ void UIWidget::updateState(Fw::WidgetState state)
|
||||
enabled = false;
|
||||
break;
|
||||
}
|
||||
} while(widget = widget->getParent());
|
||||
} while((widget = widget->getParent()));
|
||||
newStatus = !enabled;
|
||||
updateChildren = newStatus != oldStatus;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user