summaryrefslogtreecommitdiff
path: root/LibGUI/GLabel.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-10 13:16:36 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-10 13:16:36 +0100
commit5d69bf06d231cb3fee25f79065461198dbb8cb53 (patch)
tree7a4490c16dfbe95f217b8b908c507130c515777a /LibGUI/GLabel.cpp
parent6836e21d1c9e1e9b00b5f87ac988d2f2a7639796 (diff)
downloadserenity-5d69bf06d231cb3fee25f79065461198dbb8cb53.zip
LibGUI: Don't fill widgets with background color by defualt.
Diffstat (limited to 'LibGUI/GLabel.cpp')
-rw-r--r--LibGUI/GLabel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/LibGUI/GLabel.cpp b/LibGUI/GLabel.cpp
index 2962d04051..c674a674a6 100644
--- a/LibGUI/GLabel.cpp
+++ b/LibGUI/GLabel.cpp
@@ -7,6 +7,12 @@ GLabel::GLabel(GWidget* parent)
{
}
+GLabel::GLabel(const String& text, GWidget* parent)
+ : GWidget(parent)
+ , m_text(text)
+{
+}
+
GLabel::~GLabel()
{
}