summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-02 14:57:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-11 12:52:53 +0200
commitab3ecbd3d32b33316554f534c81b486aa5854c5b (patch)
treee5c45b188e0122a61112372dfb86aa06f697780a
parentInsert back notification bars in webtab layout (diff)
downloadrekonq-ab3ecbd3d32b33316554f534c81b486aa5854c5b.tar.xz
clean up code
-rw-r--r--src/messagebar.cpp2
-rw-r--r--src/websnap.h3
-rw-r--r--src/webtab.cpp10
3 files changed, 7 insertions, 8 deletions
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);