Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void Inkscape::Preferences::unload ( bool  save = true) [static]

Unload all preferences.

saveWhether to save the preferences; defaults to true

This deletes the singleton object. Calling get() after this function will reinstate it, so you shouldn't. Pass false as the parameter to suppress automatic saving.

Definition at line 805 of file preferences.cpp.

References save().

Referenced by inkscape_exit().

    if (_instance)
        if (save) {
        delete _instance;
        _instance = NULL;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index