mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibGUI: Add 64-bit signed integer support to GVariant
What was previously the "Int" type is now "Int32" and "Int64".
This commit is contained in:
@@ -258,7 +258,7 @@ public:
|
||||
virtual void paint(GPainter& painter, const Rect& a_rect, const Palette& palette, const GModel& model, const GModelIndex& index) override
|
||||
{
|
||||
auto rect = a_rect.shrunken(2, 2);
|
||||
auto percentage = model.data(index, GModel::Role::Custom).to_int();
|
||||
auto percentage = model.data(index, GModel::Role::Custom).to_i32();
|
||||
|
||||
auto data = model.data(index, GModel::Role::Display);
|
||||
String text;
|
||||
|
||||
Reference in New Issue
Block a user