diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-10 15:38:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-10 15:38:50 +0100 |
commit | 002b4e117e935cc39c96ea99717646b8c6974b81 (patch) | |
tree | 1e853074b3a8a04ad051c57f62b4958145802040 /src | |
parent | (BIG commit) API change (diff) | |
download | rekonq-002b4e117e935cc39c96ea99717646b8c6974b81.tar.xz |
removing unuseful kDebug calls
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 3 | ||||
-rw-r--r-- | src/history.cpp | 1 | ||||
-rw-r--r-- | src/historymodels.cpp | 4 | ||||
-rw-r--r-- | src/lineedit.cpp | 3 | ||||
-rw-r--r-- | src/mainview.cpp | 3 | ||||
-rw-r--r-- | src/mainwindow.cpp | 6 | ||||
-rw-r--r-- | src/previewimage.cpp | 5 | ||||
-rw-r--r-- | src/tabbar.cpp | 1 | ||||
-rw-r--r-- | src/webview.cpp | 1 |
9 files changed, 0 insertions, 27 deletions
diff --git a/src/application.cpp b/src/application.cpp index 1c0c42e3..4b3d736d 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -102,7 +102,6 @@ int Application::newInstance() mainWindow()->homePage(); break; case 1: // open new tab page - kDebug() << "newInstance"; mainWindow()->newTabPage(); break; case 2: // restore session @@ -345,7 +344,6 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) } // loading home pages - kDebug() << "loadUrl loading " << url; if (mainWindow()->newTabPage(url)) return; @@ -433,7 +431,6 @@ void Application::loadUrl(const QString& urlString, const Rekonq::OpenType& typ MainWindow *Application::newMainWindow() { MainWindow *w = new MainWindow(); - kDebug() << "newMainWindow"; w->mainView()->newWebView(); // remember using newWebView and NOT newTab here!! m_mainWindows.prepend(w); diff --git a/src/history.cpp b/src/history.cpp index 91360839..0db73b76 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -39,7 +39,6 @@ #include "application.h" // KDE Includes -#include <KDebug> #include <KStandardDirs> #include <KLocale> #include <KCompletion> diff --git a/src/historymodels.cpp b/src/historymodels.cpp index 446791ee..cf8d1aed 100644 --- a/src/historymodels.cpp +++ b/src/historymodels.cpp @@ -37,7 +37,6 @@ #include "application.h" // KDE Includes -#include <KDebug> #include <KStandardDirs> #include <KLocale> @@ -923,9 +922,6 @@ QModelIndex HistoryTreeModel::mapFromSource(const QModelIndex &sourceIndex) cons --it; int dateRow = qMax(0, it - m_sourceRowCache.begin()); - // FIXME fix crach on history submenu open. BUG:'ASSERT failure in QList<T>::at: "index out of range"' - // it crashes when dateRow == 1 - // kDebug() << m_sourceRowCache << dateRow; int row = sourceIndex.row() - m_sourceRowCache.at(dateRow); return createIndex(row, sourceIndex.column(), dateRow + 1); } diff --git a/src/lineedit.cpp b/src/lineedit.cpp index fe8095ab..f3c93e8e 100644 --- a/src/lineedit.cpp +++ b/src/lineedit.cpp @@ -30,9 +30,6 @@ #include "lineedit.h" #include "lineedit.moc" -// KDE Includes -#include <KDebug> - // Qt Includes #include <QtGui/QContextMenuEvent> #include <QtGui/QFocusEvent> diff --git a/src/mainview.cpp b/src/mainview.cpp index 608064fe..2672216b 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -347,7 +347,6 @@ WebView *MainView::newWebView(bool focused, bool nearParent) else addTab(webView, i18n("(Untitled)")); - kDebug() << "newWebView"; updateTabBar(); if (focused) @@ -368,7 +367,6 @@ void MainView::newTab() switch(ReKonfig::newTabsBehaviour()) { case 0: // new tab page - kDebug() << "newTab"; if(m_parentWindow->newTabPage()) break; case 1: // blank page @@ -662,7 +660,6 @@ QList<HistoryItem> MainView::recentlyClosedTabs() void MainView::resizeEvent(QResizeEvent *event) { - kDebug() << "resizeEvent"; updateTabBar(); KTabWidget::resizeEvent(event); } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 40274987..47d0b90d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -462,7 +462,6 @@ void MainWindow::setupSidePanel() void MainWindow::updateConfiguration() { // ============== General ================== - kDebug() << "update conf"; m_view->updateTabBar(); // =========== Fonts ============== @@ -1050,12 +1049,10 @@ void MainWindow::clearPrivateData() { QString path = KStandardDirs::locateLocal("cache", QString("thumbs/rekonq"), true); path.remove("rekonq"); - kDebug() << path; QDir cacheDir(path); QStringList fileList = cacheDir.entryList(); foreach(const QString &str, fileList) { - kDebug() << str; QFile file(path + str); file.remove(); } @@ -1076,13 +1073,11 @@ void MainWindow::aboutToShowBackMenu() if(historyCount > 8) historyCount = 8; - kDebug() << "History Count: " << historyCount; for (int i = history->backItems(historyCount).count() - 1; i >= 0; --i) { QWebHistoryItem item = history->backItems(history->count()).at(i); KAction *action = new KAction(this); action->setData( i - history->currentItemIndex() ); - kDebug() << "Current Item Index: " << history->currentItemIndex(); QIcon icon = Application::icon(item.url()); action->setIcon(icon); action->setText(item.title()); @@ -1094,7 +1089,6 @@ void MainWindow::aboutToShowBackMenu() void MainWindow::openActionUrl(QAction *action) { int offset = action->data().toInt(); - kDebug() << "Offset: " << offset; QWebHistory *history = currentTab()->history(); if(!history->itemAt(offset).isValid()) diff --git a/src/previewimage.cpp b/src/previewimage.cpp index f898dc6f..6d5b598d 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -199,11 +199,6 @@ void PreviewImage::snapFinished() setCursor(Qt::PointingHandCursor); -// kDebug() << "m_pixmap: " << m_pixmap.size(); -// kDebug() << "text label: " << m_textLabel->size(); -// kDebug() << "image label: " << m_imageLabel->size(); -// kDebug() << "widget: " << size(); - m_pixmap.save(m_savePath); if(m_index > -1) diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 4ef1c4dd..3eba53d7 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -42,7 +42,6 @@ // KDE Includes #include <KShortcut> #include <KStandardShortcut> -#include <KDebug> #include <KGlobalSettings> #include <KPassivePopup> diff --git a/src/webview.cpp b/src/webview.cpp index b8634410..9b439ba3 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -39,7 +39,6 @@ #include "webpage.h" // KDE Includes -#include <KDebug> #include <KService> #include <KUriFilterData> #include <KStandardShortcut> |