diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-09-13 17:10:30 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-09-13 17:10:30 +0200 |
commit | 681a611588781734d45395d76ec802c0a2117be3 (patch) | |
tree | dfcf89a4772664417dfd1b0b70d78f29362c0cb8 /src/mainwindow.h | |
parent | Get sure about urls are restored (diff) | |
download | rekonq-681a611588781734d45395d76ec802c0a2117be3.tar.xz |
Fix close & session
First, I'm really sorry for this bad commit ('git' talking..).
The fact is that the 3 bugs fixed here were found chained playing
with close code. Here it is the report:
- fix close window (it now really appears on multiple window closing)
- fix saveSession (saving one call for each site loaded and storing
better information): saveSession is now called on loadFinished
- clean up some compilation warnings
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index c2654a93..3144222b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -115,6 +115,8 @@ public Q_SLOTS: void changeWindowIcon(int index); + bool close(); + Q_SIGNALS: // switching tabs void ctrlTabPressed(); @@ -123,7 +125,7 @@ Q_SIGNALS: void triggerPartPrint(); void triggerPartFind(); - void lastWindowClosed(); + void windowClosing(); protected Q_SLOTS: void saveNewToolbarConfig(); @@ -138,7 +140,6 @@ protected: void moveEvent(QMoveEvent *event); void resizeEvent(QResizeEvent *event); bool event(QEvent *event); - bool queryClose(); void finalizeGUI(KXMLGUIClient *client); private Q_SLOTS: |