diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-22 12:06:58 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-22 12:06:58 +0200 | 
| commit | 31c1ef49743d27a67dcac2b07d578e6373fdd6b1 (patch) | |
| tree | e034e74048992e73dc67af30d6ed131a782f851b | |
| parent | fix previews: (diff) | |
| parent | small fix of tab preview behavior (diff) | |
| download | rekonq-31c1ef49743d27a67dcac2b07d578e6373fdd6b1.tar.xz | |
Merge commit 'refs/merge-requests/1561' of git://gitorious.org/rekonq/mainline into megaint
| -rw-r--r-- | src/mainview.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/mainview.cpp b/src/mainview.cpp index 97199e69..47e39524 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -622,8 +622,8 @@ void MainView::mouseMoveEvent(QMouseEvent *event)          m_currentTabPreview=tab;      } -    //if current tab then hide previous tab preview -    if (tab==m_tabBar->currentIndex()) +    //if current tab or not found then hide previous tab preview +    if (tab==m_tabBar->currentIndex() || tab==-1)      {          if ( m_previewPopup)          { @@ -658,7 +658,6 @@ void MainView::showTabPreview(int tab)      }      m_previewPopup = new KPassivePopup(this); -    m_previewPopup->setAutoDelete(true);      m_previewPopup->setFrameShape(QFrame::NoFrame);      m_previewPopup->setFixedSize(w, h);      QLabel *l = new QLabel(); | 
