diff options
| author | Volker Krause <[email protected]> | 2014-09-26 20:38:57 +0200 |
|---|---|---|
| committer | Volker Krause <[email protected]> | 2014-09-26 20:38:57 +0200 |
| commit | 1d590aa7d50bcf955e3356a09dcaa88e1989aa3a (patch) | |
| tree | be1af27a0d11bdf4501b3f07354b8b1f6fe04fee /src/views/viewproperties.cpp | |
| parent | d47557dcd17a028596c4e0e7b0aabc5db4847bed (diff) | |
Make constants const, avoids unnecessary symbols in the .data section.
Diffstat (limited to 'src/views/viewproperties.cpp')
| -rw-r--r-- | src/views/viewproperties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/viewproperties.cpp b/src/views/viewproperties.cpp index bcea06253..46c836274 100644 --- a/src/views/viewproperties.cpp +++ b/src/views/viewproperties.cpp @@ -43,10 +43,10 @@ namespace { // String representation to mark the additional properties of // the details view as customized by the user. See // ViewProperties::visibleRoles() for more information. - const char* CustomizedDetailsString = "CustomizedDetails"; + const char CustomizedDetailsString[] = "CustomizedDetails"; // Filename that is used for storing the properties - const char* ViewPropertiesFileName = ".directory"; + const char ViewPropertiesFileName[] = ".directory"; } ViewProperties::ViewProperties(const KUrl& url) : |
