From 32f62ad88c62d8abe494c21f7530c721c881c873 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 16 Feb 2011 00:19:52 +0100 Subject: Calm down kDebug messages --- src/adblock/adblockmanager.cpp | 1 - src/bookmarks/bookmarkprovider.cpp | 12 ------------ src/mainview.cpp | 1 - src/mainwindow.cpp | 8 -------- src/webtab.cpp | 1 - 5 files changed, 23 deletions(-) diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp index 0d348f82..fb36ef0f 100644 --- a/src/adblock/adblockmanager.cpp +++ b/src/adblock/adblockmanager.cpp @@ -116,7 +116,6 @@ void AdBlockManager::loadSettings(bool checkUpdateDate) void AdBlockManager::loadRules(const QStringList &rules) { - kDebug() << "LOADING RULES LIST..."; foreach(const QString &stringRule, rules) { // ! rules are comments diff --git a/src/bookmarks/bookmarkprovider.cpp b/src/bookmarks/bookmarkprovider.cpp index 37eabcc4..e4fb9e3a 100644 --- a/src/bookmarks/bookmarkprovider.cpp +++ b/src/bookmarks/bookmarkprovider.cpp @@ -54,8 +54,6 @@ BookmarkProvider::BookmarkProvider(QObject *parent) , m_owner(0) , m_actionCollection(new KActionCollection(this)) { - kDebug() << "Loading Bookmarks Manager..."; - // NOTE // This hackish code is needed to continue sharing bookmarks with konqueror, // until we can (hopefully) start using an akonadi resource. @@ -92,8 +90,6 @@ BookmarkProvider::BookmarkProvider(QObject *parent) KAction *a = KStandardAction::addBookmark(bookmarkOwner(), SLOT(bookmarkCurrentPage()), this); m_actionCollection->addAction(QL1S("rekonq_add_bookmark"), a); - - kDebug() << "Loading Bookmarks Manager... DONE!"; } @@ -106,8 +102,6 @@ BookmarkProvider::~BookmarkProvider() KActionMenu* BookmarkProvider::bookmarkActionMenu(QWidget *parent) { - kDebug() << "new Bookmarks menu..."; - KMenu *menu = new KMenu(parent); KActionMenu *bookmarkActionMenu = new KActionMenu(menu); bookmarkActionMenu->setMenu(menu); @@ -115,8 +109,6 @@ KActionMenu* BookmarkProvider::bookmarkActionMenu(QWidget *parent) BookmarkMenu *bMenu = new BookmarkMenu(m_manager, m_owner, menu, m_actionCollection); m_bookmarkMenus.append(bMenu); - kDebug() << "new Bookmarks menu... DONE"; - return bookmarkActionMenu; } @@ -126,11 +118,7 @@ void BookmarkProvider::registerBookmarkBar(BookmarkToolBar *toolbar) if (m_bookmarkToolBars.contains(toolbar)) return; - kDebug() << "new bookmark bar..."; - m_bookmarkToolBars.append(toolbar); - - kDebug() << "new bookmark bar... DONE!"; } diff --git a/src/mainview.cpp b/src/mainview.cpp index 3e173d93..1cf003e9 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -550,7 +550,6 @@ void MainView::webViewIconChanged() if (-1 != index) { - kDebug() << "TAB URL: " << tab->url(); KIcon icon = Application::iconManager()->iconForUrl(tab->url()); QLabel *label = animatedLoading(index, false); QMovie *movie = label->movie(); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8744af1b..35f47701 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -157,8 +157,6 @@ MainWindow::MainWindow() // give me some time to do all the other stuffs... QTimer::singleShot(100, this, SLOT(postLaunch())); - - kDebug() << "MainWindow ctor...DONE"; } @@ -189,8 +187,6 @@ MainWindow::~MainWindow() void MainWindow::setupToolbars() { - kDebug() << "setup toolbars..."; - KAction *a; // location bar @@ -362,8 +358,6 @@ void MainWindow::changeWindowIcon(int index) void MainWindow::setupActions() { - kDebug() << "setup actions..."; - // this let shortcuts work.. actionCollection()->addAssociatedWidget(this); @@ -553,7 +547,6 @@ void MainWindow::setupActions() void MainWindow::setupTools() { - kDebug() << "setup tools..."; KActionMenu *toolsAction = new KActionMenu(KIcon("configure"), i18n("&Tools"), this); toolsAction->setDelayed(false); toolsAction->setShortcutConfigurable(true); @@ -571,7 +564,6 @@ void MainWindow::setupTools() void MainWindow::setupPanels() { - kDebug() << "setup panels..."; KAction* a; // STEP 1 diff --git a/src/webtab.cpp b/src/webtab.cpp index 67a5f3b7..c2f00160 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -101,7 +101,6 @@ KUrl WebTab::url() { if(page() && page()->isOnRekonqPage()) { - kDebug() << "REKONQ PAGE. URL = " << page()->loadingUrl(); return page()->loadingUrl(); } -- cgit v1.2.1