diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:31:12 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:31:12 +0200 |
commit | ceb5508fea6f98b6adaec70bc25c184200679a49 (patch) | |
tree | 7f507e627cc6b7e530fc191fde22ad1f94442567 /Applications | |
parent | 3476a634156fa22dbfbecbfc28c29602ee017b0f (diff) | |
download | serenity-ceb5508fea6f98b6adaec70bc25c184200679a49.zip |
LibGUI: Convert GProgressBar to ObjectPtr
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
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); |