mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/apps/; revision=1080302
This commit is contained in:
parent
3b4b98ed57
commit
5accf42fc8
4 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@
|
|||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
||||
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),
|
||||
|
|
|
@ -60,7 +60,7 @@ private:
|
|||
bool m_hasVersionData;
|
||||
QHash<QPersistentModelIndex, KVersionControlPlugin::VersionState> m_revisionHash;
|
||||
|
||||
static const char* m_others;
|
||||
static const char* const m_others;
|
||||
};
|
||||
|
||||
#endif // DOLPHINMODEL_H
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue