From 8844ac1336460ba37f137325052116550f30b926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Mon, 16 Jun 2025 22:41:47 +0200 Subject: [PATCH] picker: Properly set title and class (#341) The class was empty before and the title was MainPicker --- hyprland-share-picker/main.cpp | 2 ++ hyprland-share-picker/mainpicker.ui | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hyprland-share-picker/main.cpp b/hyprland-share-picker/main.cpp index 1f6e131..987093c 100644 --- a/hyprland-share-picker/main.cpp +++ b/hyprland-share-picker/main.cpp @@ -97,6 +97,8 @@ int main(int argc, char* argv[]) { QSettings* settings = new QSettings("/tmp/hypr/hyprland-share-picker.conf", QSettings::IniFormat); w.setGeometry(0, 0, settings->value("width").toInt(), settings->value("height").toInt()); + QCoreApplication::setApplicationName("org.hyprland.xdg-desktop-portal-hyprland"); + // get the tabwidget const auto TABWIDGET = w.findChild("tabWidget"); const auto ALLOWTOKENBUTTON = w.findChild("checkBox"); diff --git a/hyprland-share-picker/mainpicker.ui b/hyprland-share-picker/mainpicker.ui index 21b3c3c..165fe28 100644 --- a/hyprland-share-picker/mainpicker.ui +++ b/hyprland-share-picker/mainpicker.ui @@ -29,7 +29,7 @@ - MainPicker + Select what to share