Code

Enable icon disk cache by default.
authorJon A. Cruz <jon@joncruz.org>
Tue, 21 Dec 2010 08:33:29 +0000 (00:33 -0800)
committerJon A. Cruz <jon@joncruz.org>
Tue, 21 Dec 2010 08:33:29 +0000 (00:33 -0800)
src/widgets/icon.cpp

index 3e0746edf99f2f3bd73e5724d65a26006e53177b..bfdf2d3b913821a63c6819277bf2944205893910 100644 (file)
@@ -1330,7 +1330,7 @@ bool IconImpl::prerenderIcon(gchar const *name, GtkIconSize lsize, unsigned psiz
 {
     bool loadNeeded = false;
     static bool dump = Inkscape::Preferences::get()->getBool("/debug/icons/dumpGtk");
-    static bool useCache = Inkscape::Preferences::get()->getBool("/debug/icons/useCache");
+    static bool useCache = Inkscape::Preferences::get()->getBool("/debug/icons/useCache", true);
     static bool cacheValidated = false;
     if (!cacheValidated) {
         cacheValidated = true;