add more spacing
[personal-kdebase.git] / apps / konqueror / settings / konq / tests / kcustommenueditortest.cpp
blobe3e868c23bfa1ddc24868089603d2f3d48633396
1 #include "kcustommenueditor.h"
2 #include <kapplication.h>
3 #include <klocale.h>
4 #include <kconfig.h>
5 #include <kcmdlineargs.h>
7 int main(int argc, char** argv)
9 KCmdLineArgs::init(argc, argv, "kcustommenueditortest", "kdelibs4", ki18n("kcustommenueditortest"),"0",ki18n("test app"));
10 KApplication app;
11 app.setQuitOnLastWindowClosed(false);
12 KCustomMenuEditor editor(0);
13 KConfig *cfg = new KConfig("kdesktop_custom_menu2");
14 editor.load(cfg);
15 if (editor.exec())
17 editor.save(cfg);
18 cfg->sync();
20 delete cfg;