Qt experts...

        if (reset_settings) {
                QSettings settings;
                fprintf(stderr, "%d keys\n", settings.allKeys().length());
                foreach (QString key, settings.allKeys())
                        fprintf(stderr, "had setting for key %s\n", 
key.toUtf8().data());
                settings.clear();
                settings.sync();
                foreach (QString key, settings.allKeys())
                        fprintf(stderr, "now have setting for key %s\n", 
key.toUtf8().data());
                return 0;
        }


I run this in oder to reset the settings. It says I have no keys in there,
finds no keys, etc.

But if I look in ~/.config/Subsurface/Subsurface.conf there are a ton of
settings in there...

WTF?

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to