From d6c022a8b01715f50d227c938beed680ac40ace0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 28 Dec 2012 18:32:05 +0100 Subject: Krazy fixes, second shot (normalize) --- src/tabwindow/tabbar.cpp | 2 +- src/tabwindow/tabwindow.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tabwindow') diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp index 24494f15..09368fef 100644 --- a/src/tabwindow/tabbar.cpp +++ b/src/tabwindow/tabbar.cpp @@ -77,7 +77,7 @@ TabBar::TabBar(QWidget *parent) // context menu(s) setContextMenuPolicy(Qt::CustomContextMenu); - connect(this, SIGNAL(contextMenu(int, QPoint)), this, SLOT(contextMenu(int, QPoint))); + connect(this, SIGNAL(contextMenu(int,QPoint)), this, SLOT(contextMenu(int,QPoint))); connect(this, SIGNAL(emptyAreaContextMenu(QPoint)), this, SLOT(emptyAreaContextMenu(QPoint))); // Highlight effect diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp index 7fa7439d..f05d8142 100644 --- a/src/tabwindow/tabwindow.cpp +++ b/src/tabwindow/tabwindow.cpp @@ -224,7 +224,7 @@ WebWindow *TabWindow::prepareNewTab(WebPage *page) connect(tab, SIGNAL(loadStarted()), this, SLOT(tabLoadStarted())); connect(tab, SIGNAL(loadFinished(bool)), this, SLOT(tabLoadFinished(bool))); - connect(tab, SIGNAL(pageCreated(WebPage *)), this, SLOT(pageCreated(WebPage *))); + connect(tab, SIGNAL(pageCreated(WebPage*)), this, SLOT(pageCreated(WebPage*))); connect(tab, SIGNAL(setFullScreen(bool)), this, SLOT(setFullScreen(bool))); @@ -579,7 +579,7 @@ void TabWindow::detachTab(int index, TabWindow *toWindow) disconnect(tab, SIGNAL(titleChanged(QString)), this, SLOT(tabTitleChanged(QString))); disconnect(tab, SIGNAL(loadStarted()), this, SLOT(tabLoadStarted())); disconnect(tab, SIGNAL(loadFinished(bool)), this, SLOT(tabLoadFinished(bool))); - disconnect(tab, SIGNAL(pageCreated(WebPage *)), this, SLOT(pageCreated(WebPage *))); + disconnect(tab, SIGNAL(pageCreated(WebPage*)), this, SLOT(pageCreated(WebPage*))); // reconnect signals to new tabwindow // WARNING: Code copied from prepareNewTab method. @@ -587,7 +587,7 @@ void TabWindow::detachTab(int index, TabWindow *toWindow) connect(tab, SIGNAL(titleChanged(QString)), w, SLOT(tabTitleChanged(QString))); connect(tab, SIGNAL(loadStarted()), w, SLOT(tabLoadStarted())); connect(tab, SIGNAL(loadFinished(bool)), w, SLOT(tabLoadFinished(bool))); - connect(tab, SIGNAL(pageCreated(WebPage *)), w, SLOT(pageCreated(WebPage *))); + connect(tab, SIGNAL(pageCreated(WebPage*)), w, SLOT(pageCreated(WebPage*))); w->show(); } -- cgit v1.2.1