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/webtab.cpp | |
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/webtab.cpp')
-rw-r--r-- | src/webtab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp index 39287d28..1eba22a1 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -87,6 +87,9 @@ WebTab::WebTab(QWidget *parent) connect(m_webView, SIGNAL(loadProgress(int)), this, SLOT(updateProgress(int))); connect(m_webView, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool))); connect(m_webView, SIGNAL(titleChanged(const QString &)), this, SIGNAL(titleChanged(const QString &))); + + // Session Manager + connect(m_webView, SIGNAL(loadFinished(bool)), rApp->sessionManager(), SLOT(saveSession())); } |