QCoreApplication is enough.
This commit is contained in:
parent
797163b932
commit
a4e9bb5f6c
@ -208,7 +208,7 @@ int main(int argc, char **argv)
|
|||||||
options.add("packageroot <path>", ki18n("Absolute path to the package root. If not supplied, then the standard data directories for this KDE session will be searched instead."));
|
options.add("packageroot <path>", ki18n("Absolute path to the package root. If not supplied, then the standard data directories for this KDE session will be searched instead."));
|
||||||
KCmdLineArgs::addCmdLineOptions( options );
|
KCmdLineArgs::addCmdLineOptions( options );
|
||||||
|
|
||||||
KApplication app;
|
QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user