]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewproperties.cpp
Make constants const, avoids unnecessary symbols in the .data section.
[dolphin.git] / src / views / viewproperties.cpp
index bcea0625348213eaa065a4c123e57a7a3616c17b..46c8362747d174e2c40390cfa1f05a541226ba0a 100644 (file)
@@ -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) :