summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Variant.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/Variant.h')
-rw-r--r--Userland/Libraries/LibGUI/Variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Variant.h b/Userland/Libraries/LibGUI/Variant.h
index ccdcd241d5..8862bfa27f 100644
--- a/Userland/Libraries/LibGUI/Variant.h
+++ b/Userland/Libraries/LibGUI/Variant.h
@@ -235,7 +235,7 @@ public:
Color as_color() const
{
VERIFY(type() == Type::Color);
- return Color::from_rgba(m_value.as_color);
+ return Color::from_argb(m_value.as_color);
}
const Gfx::Font& as_font() const