Skip to content

Commit

Permalink
picker: Save size in temp files
Browse files Browse the repository at this point in the history
  • Loading branch information
rurigk committed Jan 27, 2024
1 parent 6a89618 commit 64d5c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyprland-share-picker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int main(int argc, char* argv[]) {
MainPicker w;
mainPickerPtr = &w;

QSettings* settings = new QSettings("hypr", "hyprland-share-picker");
QSettings* settings = new QSettings("/tmp/hypr/hyprland-share-picker.conf", QSettings::IniFormat);
w.setGeometry(0, 0, settings->value("width").toInt(), settings->value("height").toInt());

// get the tabwidget
Expand Down

0 comments on commit 64d5c75

Please sign in to comment.