From ab3ecbd3d32b33316554f534c81b486aa5854c5b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 2 Jul 2011 14:57:21 +0200 Subject: clean up code --- src/messagebar.cpp | 2 -- src/websnap.h | 3 ++- src/webtab.cpp | 10 +++++----- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/messagebar.cpp b/src/messagebar.cpp index 2fc09f09..2fb349d2 100644 --- a/src/messagebar.cpp +++ b/src/messagebar.cpp @@ -69,5 +69,3 @@ void MessageBar::hideAndDelete() animatedHide(); deleteLater(); } - - \ No newline at end of file diff --git a/src/websnap.h b/src/websnap.h index ab30c552..f1b04aad 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -86,7 +86,8 @@ public: */ static QPixmap renderPagePreview(const QWebPage &page, int w = defaultWidth, int h = defaultHeight); - // static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); TODO: try to make this method work => more previews for the urlbar + // static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); + // TODO: try to make this method work => more previews for the urlbar /** * Snaps a pixmap of size w * h from a page of a tab that is currently closing diff --git a/src/webtab.cpp b/src/webtab.cpp index 1493725b..578bf2a8 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -58,11 +58,11 @@ WebTab::WebTab(QWidget *parent) - : QWidget(parent) - , m_webView(new WebView(this)) - , m_urlBar(new UrlBar(this)) - , m_progress(0) - , m_part(0) + : QWidget(parent) + , m_webView(new WebView(this)) + , m_urlBar(new UrlBar(this)) + , m_progress(0) + , m_part(0) { setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); -- cgit v1.2.1