summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
Unidiff
Diffstat (limited to 'libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
index 6712870..2ee4a65 100644
--- a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
+++ b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
@@ -21,13 +21,12 @@ int main( int argc, char** argv )
21 21
22 // in this (special) case it is necessary to manually call OConfig::write() (see below) 22 // in this (special) case it is necessary to manually call OConfig::write() (see below)
23 app->config()->write(); 23 app->config()->write();
24 24
25 // can't delete the app when using the OConfigGroupSaver on top level scope, 25 // can't delete the app when using the OConfigGroupSaver on top level scope,
26 // because the destructor of the OConfigGroupSaver needs an application object 26 // because the destructor of the OConfigGroupSaver needs an application object
27 //delete app; // destructor deletes config which writes changes back to disk 27 //delete app; // destructor deletes config which writes changes back to disk
28 28
29 return 0; 29 return 0;
30 30
31} 31}
32 32
33//#include "moc/oconfigdemo.moc"