From 1d590aa7d50bcf955e3356a09dcaa88e1989aa3a Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Fri, 26 Sep 2014 20:38:57 +0200 Subject: Make constants const, avoids unnecessary symbols in the .data section. --- src/panels/places/placesitemmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/panels') diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index d59d0b03a..abfe1d62f 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -65,7 +65,7 @@ namespace { // be independent from changes in the Baloo-search-URL-syntax. // Hence a prefix to the application-name of the stored bookmarks is // added, which is only read by PlacesItemModel. - const char* AppNamePrefix = "-places-panel"; + const char AppNamePrefix[] = "-places-panel"; } PlacesItemModel::PlacesItemModel(QObject* parent) : -- cgit v1.3