From ec859058c6a4cf82cc247cefbfb71b090a62be73 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 19 May 2009 07:25:40 +0000 Subject: [PATCH] krazy fixes svn path=/trunk/KDE/kdebase/apps/; revision=969874 --- src/dolphinmainwindow.cpp | 3 +-- src/panels/information/phononwidget.cpp | 2 +- src/settings/previewssettingspage.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f5d1754829..f6688ddcec 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -84,7 +84,6 @@ #include #include #include -#include #include #include #include @@ -1519,7 +1518,7 @@ QString DolphinMainWindow::tabName(const KUrl& url) const { QString name; if (url.equals(KUrl("file:///"))) { - name = "/"; + name = '/'; } else { name = url.fileName(); if (name.isEmpty()) { diff --git a/src/panels/information/phononwidget.cpp b/src/panels/information/phononwidget.cpp index 7f2ca95648..c54cae306c 100644 --- a/src/panels/information/phononwidget.cpp +++ b/src/panels/information/phononwidget.cpp @@ -151,7 +151,7 @@ void PhononWidget::showEvent(QShowEvent *event) // Creating an audio player or video player instance might take up to // 2 seconds when doing it the first time. To prevent that the user - // interface gets noticable blocked, the creation is delayed until + // interface gets notizable blocked, the creation is delayed until // the play button has been pressed (see PhononWidget::play()). } } diff --git a/src/settings/previewssettingspage.cpp b/src/settings/previewssettingspage.cpp index d5c518b005..f117183d4a 100644 --- a/src/settings/previewssettingspage.cpp +++ b/src/settings/previewssettingspage.cpp @@ -143,7 +143,7 @@ bool PreviewsSettingsPage::event(QEvent* event) if ((event->type() == QEvent::Polish) && !m_initialized) { // load all available plugins for previews const KService::List plugins = KServiceTypeTrader::self()->query("ThumbCreator"); - foreach (const KSharedPtr service, plugins) { + foreach (const KSharedPtr& service, plugins) { QListWidgetItem* item = new QListWidgetItem(service->name(), m_previewPluginsList); item->setData(Qt::UserRole, service->desktopEntryName());