diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index f7fd2b3502..746752b670 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -41,7 +41,7 @@ #include #include -const char* DolphinModel::m_others = I18N_NOOP2("@title:group Name", "Others"); +const char* const DolphinModel::m_others = I18N_NOOP2("@title:group Name", "Others"); DolphinModel::DolphinModel(QObject* parent) : KDirModel(parent), diff --git a/src/dolphinmodel.h b/src/dolphinmodel.h index 89a0a761c0..adb59a39f0 100644 --- a/src/dolphinmodel.h +++ b/src/dolphinmodel.h @@ -60,7 +60,7 @@ private: bool m_hasVersionData; QHash m_revisionHash; - static const char* m_others; + static const char* const m_others; }; #endif // DOLPHINMODEL_H diff --git a/src/panels/information/kmetadataconfigurationdialog.cpp b/src/panels/information/kmetadataconfigurationdialog.cpp index e583417b04..e614a35fe8 100644 --- a/src/panels/information/kmetadataconfigurationdialog.cpp +++ b/src/panels/information/kmetadataconfigurationdialog.cpp @@ -179,7 +179,7 @@ void KMetaDataConfigurationDialog::Private::loadMetaData() // Meta information provided by Nepomuk that is already // available from KFileItem as "fixed item" (see above) // should not be shown as second entry. - static const char* hiddenProperties[] = { + static const char* const hiddenProperties[] = { "contentSize", // = fixed item "size" "description", // = fixed item "comment" "fileExtension", // ~ fixed item "type" diff --git a/src/panels/information/kmetadatawidget.cpp b/src/panels/information/kmetadatawidget.cpp index 12e5039f14..5ac64a9577 100644 --- a/src/panels/information/kmetadatawidget.cpp +++ b/src/panels/information/kmetadatawidget.cpp @@ -281,7 +281,7 @@ void KMetaDataWidget::Private::initMetaInfoSettings() // trueg: KDE 4.5: use a blacklist of actual rdf properties - static const char* disabledProperties[] = { + static const char* const disabledProperties[] = { "asText", "contentSize", "created", "depth", "description", "fileExtension", "fileName", "fileSize", "hasTag", "isPartOf", "lastModified", "mimeType", "name", "numericRating", "parentUrl", "permissions", "plainTextContent", "owner",