From: Peter Penz Date: Tue, 19 May 2009 07:25:40 +0000 (+0000) Subject: krazy fixes X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/ec859058c6a4cf82cc247cefbfb71b090a62be73 krazy fixes svn path=/trunk/KDE/kdebase/apps/; revision=969874 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f5d175482..f6688ddce 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 7f2ca9564..c54cae306 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 d5c518b00..f117183d4 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());