┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorVolker Krause <[email protected]>2014-09-26 20:38:57 +0200
committerVolker Krause <[email protected]>2014-09-26 20:38:57 +0200
commit1d590aa7d50bcf955e3356a09dcaa88e1989aa3a (patch)
treebe1af27a0d11bdf4501b3f07354b8b1f6fe04fee /src/views
parentd47557dcd17a028596c4e0e7b0aabc5db4847bed (diff)
Make constants const, avoids unnecessary symbols in the .data section.
Diffstat (limited to 'src/views')
-rw-r--r--src/views/viewproperties.cpp4
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) :