aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-16 21:38:32 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-16 21:38:32 +0530
commit3a08d5d5801c7e902620e45305da838904bda1ab (patch)
tree4b23b7e3087ecbc2fe0f34c542eaaa09164c4f2e /src/mainwindow.h
parent5c2764f71ba3ee51305ff6129bdea0650f10ba21 (diff)
downloadwhatsie-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.h1
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