┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp3
-rw-r--r--src/panels/information/phononwidget.cpp2
-rw-r--r--src/settings/previewssettingspage.cpp2
3 files changed, 3 insertions, 4 deletions
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 <QDBusMessage>
#include <QKeyEvent>
#include <QClipboard>
-#include <QLineEdit>
#include <QSplitter>
#include <QDockWidget>
#include <kacceleratormanager.h>
@@ -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<KService> service, plugins) {
+ foreach (const KSharedPtr<KService>& service, plugins) {
QListWidgetItem* item = new QListWidgetItem(service->name(),
m_previewPluginsList);
item->setData(Qt::UserRole, service->desktopEntryName());