summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 16:31:12 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 16:31:12 +0200
commitceb5508fea6f98b6adaec70bc25c184200679a49 (patch)
tree7f507e627cc6b7e530fc191fde22ad1f94442567 /Applications
parent3476a634156fa22dbfbecbfc28c29602ee017b0f (diff)
downloadserenity-ceb5508fea6f98b6adaec70bc25c184200679a49.zip
LibGUI: Convert GProgressBar to ObjectPtr
Diffstat (limited to 'Applications')
-rw-r--r--Applications/FileManager/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp
index ae0244b442..310f3a6ec5 100644
--- a/Applications/FileManager/main.cpp
+++ b/Applications/FileManager/main.cpp
@@ -68,7 +68,7 @@ int main(int argc, char** argv)
auto statusbar = GStatusBar::construct(widget);
- auto* progressbar = new GProgressBar(statusbar);
+ auto progressbar = GProgressBar::construct(statusbar);
progressbar->set_caption("Generating thumbnails: ");
progressbar->set_format(GProgressBar::Format::ValueSlashMax);
progressbar->set_visible(false);