mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2025-10-29 11:36:04 +00:00
picker: Properly set title and class (#341)
The class was empty before and the title was MainPicker
This commit is contained in:
parent
3cf35e178b
commit
8844ac1336
@ -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<QTabWidget*>("tabWidget");
|
||||
const auto ALLOWTOKENBUTTON = w.findChild<QCheckBox*>("checkBox");
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainPicker</string>
|
||||
<string>Select what to share</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<property name="sizePolicy">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user