From 3545d23f3f4dcfbdc15ca08ec2f01ccd03319fca Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 14 Sep 2024 12:08:19 +0300 Subject: [PATCH] enshort construction --- src/app/browser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/browser.cpp b/src/app/browser.cpp index 078c63b2..d1b2e1d3 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -26,11 +26,9 @@ Browser::Browser( } ); - const Glib::VariantType ACTION__OPEN__PARAMETER_TYPE("s"); - const auto ACTION__OPEN = add_action_with_parameter( "open", - ACTION__OPEN__PARAMETER_TYPE, + Glib::VariantType("s"), // string [this](const Glib::VariantBase & parameter) { // @TODO process request