diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-17 16:46:24 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-17 16:46:24 +0200 |
commit | 82167d2422a4b6e3071dca68cf65a66e1da41ab4 (patch) | |
tree | 03c1f95a2aa60c48822a463cc3812b5c3415991e /src/websnap.cpp | |
parent | Improving tab previews (diff) | |
download | rekonq-82167d2422a4b6e3071dca68cf65a66e1da41ab4.tar.xz |
A round of the "new" astyle 2.01...
Diffstat (limited to 'src/websnap.cpp')
-rw-r--r-- | src/websnap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/websnap.cpp b/src/websnap.cpp index d03e39a4..19b10506 100644 --- a/src/websnap.cpp +++ b/src/websnap.cpp @@ -48,8 +48,8 @@ WebSnap::WebSnap(const KUrl& url, QObject *parent) - : QObject(parent) - , m_url(url) + : QObject(parent) + , m_url(url) { // this to not register websnap history m_page.settings()->setAttribute(QWebSettings::PrivateBrowsingEnabled, true); @@ -191,7 +191,7 @@ QString WebSnap::imagePathFromUrl(const KUrl &url) void WebSnap::saveResult(bool ok) { - if (ok) + if(ok) { QPixmap image = renderPagePreview(m_page, defaultWidth, defaultHeight); QString path = imagePathFromUrl(m_url); |