diff options
author | 2022-06-16 21:38:32 +0530 | |
---|---|---|
committer | 2022-06-16 21:38:32 +0530 | |
commit | 3a08d5d5801c7e902620e45305da838904bda1ab (patch) | |
tree | 4b23b7e3087ecbc2fe0f34c542eaaa09164c4f2e /src/mainwindow.h | |
parent | 5c2764f71ba3ee51305ff6129bdea0650f10ba21 (diff) | |
download | whatsie-3a08d5d5801c7e902620e45305da838904bda1ab.tar.gz whatsie-3a08d5d5801c7e902620e45305da838904bda1ab.zip |
chore: improve window geo restore
- show window on screen where the cursor is located
- default window size if saved geometry is not valid
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 2c580b6..43b02f5 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -128,6 +128,7 @@ private slots: void appAutoLockChanged(); void injectNewChatJavaScript(); void triggerNewChat(QString phone, QString text); + void restoreMainWindow(); }; #endif // MAINWINDOW_H |