mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2025-12-19 23:50:02 +01: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
2 changed files with 3 additions and 1 deletions
|
|
@ -97,6 +97,8 @@ int main(int argc, char* argv[]) {
|
||||||
QSettings* settings = new QSettings("/tmp/hypr/hyprland-share-picker.conf", QSettings::IniFormat);
|
QSettings* settings = new QSettings("/tmp/hypr/hyprland-share-picker.conf", QSettings::IniFormat);
|
||||||
w.setGeometry(0, 0, settings->value("width").toInt(), settings->value("height").toInt());
|
w.setGeometry(0, 0, settings->value("width").toInt(), settings->value("height").toInt());
|
||||||
|
|
||||||
|
QCoreApplication::setApplicationName("org.hyprland.xdg-desktop-portal-hyprland");
|
||||||
|
|
||||||
// get the tabwidget
|
// get the tabwidget
|
||||||
const auto TABWIDGET = w.findChild<QTabWidget*>("tabWidget");
|
const auto TABWIDGET = w.findChild<QTabWidget*>("tabWidget");
|
||||||
const auto ALLOWTOKENBUTTON = w.findChild<QCheckBox*>("checkBox");
|
const auto ALLOWTOKENBUTTON = w.findChild<QCheckBox*>("checkBox");
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>MainPicker</string>
|
<string>Select what to share</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue