diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-07-14 10:52:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-07-14 10:52:16 +0200 |
commit | 3dddfbf41f63722aefdbda40623a42560746e04a (patch) | |
tree | 9a800b4846ac675a95b5b2c65488a472a514c037 /src/urlbar/urlbar.cpp | |
parent | Get sure favorites titles fit (diff) | |
download | rekonq-3dddfbf41f63722aefdbda40623a42560746e04a.tar.xz |
Save a site snapshot when adding a favorite via the urlbar
BUG: 303430
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 821b9ae0..f3d759f7 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -47,6 +47,7 @@ #include "iconmanager.h" #include "favoritewidget.h" #include "searchengine.h" +#include "websnap.h" // KDE Includes #include <KCompletionBox> @@ -744,6 +745,9 @@ void UrlBar::manageFavorites(QPoint pos) titles << _tab->view()->title(); ReKonfig::setPreviewNames(titles); + // also, save a site snapshot + WebSnap *snap = new WebSnap(_tab->url(), this); + updateRightIcons(); } |