summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-19 23:00:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-19 23:00:41 +0200
commit1d1a6867589a8e71755624e1e9d9e8b95a5a1156 (patch)
tree35f54c5ad7edfb58af4c3a1db3e0dc8a83da9af6 /src/urlbar/listitem.cpp
parentAdded UI option to configure the "Do Not Track" feature (diff)
downloadrekonq-1d1a6867589a8e71755624e1e9d9e8b95a5a1156.tar.xz
Calm down kDebug messages
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index f268442f..150cc0a9 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -150,7 +150,7 @@ QString ListItem::text()
void ListItem::nextItemSubChoice()
{
- //will be override
+ // will be override
}
@@ -629,41 +629,33 @@ ListItem *ListItemFactory::create(const UrlSearchItem &item, const QString &text
{
if(item.type & UrlSearchItem::Search)
{
- kDebug() << "Search";
return new SearchListItem(item, text, parent);
}
if(item.type & UrlSearchItem::Browse)
{
- kDebug() << "Browse";
return new BrowseListItem(item, text, parent);
}
if(item.type & UrlSearchItem::History)
{
- kDebug() << "History";
return new PreviewListItem(item, text, parent);
}
if(item.type & UrlSearchItem::Bookmark)
{
- kDebug() << "Bookmark";
return new PreviewListItem(item, text, parent);
}
if(item.type & UrlSearchItem::Suggestion)
{
- kDebug() << "ITEM URL: " << item.url;
if(item.description.isEmpty())
{
- kDebug() << "Suggestion";
return new SuggestionListItem(item, text, parent);
}
- kDebug() << "Visual Suggestion";
return new VisualSuggestionListItem(item, text, parent);
}
- kDebug() << "Undefined";
return new PreviewListItem(item, text, parent);
}