summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GMessageBox.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
commitd6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch)
tree3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /Libraries/LibGUI/GMessageBox.cpp
parentbc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff)
downloadserenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'Libraries/LibGUI/GMessageBox.cpp')
-rw-r--r--Libraries/LibGUI/GMessageBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GMessageBox.cpp b/Libraries/LibGUI/GMessageBox.cpp
index d59c03bd25..1ffe9329c5 100644
--- a/Libraries/LibGUI/GMessageBox.cpp
+++ b/Libraries/LibGUI/GMessageBox.cpp
@@ -62,7 +62,7 @@ void GMessageBox::build()
widget->layout()->set_margins({ 0, 15, 0, 15 });
widget->layout()->set_spacing(15);
- ObjectPtr<GWidget> message_container = widget;
+ RefPtr<GWidget> message_container = widget;
if (m_type != Type::None) {
message_container = GWidget::construct(widget.ptr());
message_container->set_layout(make<GBoxLayout>(Orientation::Horizontal));