QCoreApplication is enough.

This commit is contained in:
Aaron Seigo 2012-05-31 14:15:54 +02:00
parent 797163b932
commit a4e9bb5f6c

View File

@ -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();