summaryrefslogtreecommitdiff
path: root/MenuApplets/ClipboardHistory
diff options
context:
space:
mode:
Diffstat (limited to 'MenuApplets/ClipboardHistory')
-rw-r--r--MenuApplets/ClipboardHistory/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/MenuApplets/ClipboardHistory/main.cpp b/MenuApplets/ClipboardHistory/main.cpp
index fcd1fb5fab..63173171bd 100644
--- a/MenuApplets/ClipboardHistory/main.cpp
+++ b/MenuApplets/ClipboardHistory/main.cpp
@@ -38,7 +38,7 @@ int main(int argc, char* argv[])
return 1;
}
- GUI::Application app(argc, argv);
+ auto app = GUI::Application::construct(argc, argv);
if (pledge("stdio shared_buffer accept rpath", nullptr) < 0) {
perror("pledge");
@@ -85,5 +85,5 @@ int main(int argc, char* argv[])
applet_window->resize(16, 16);
applet_window->show();
- return app.exec();
+ return app->exec();
}