QCoreApplication::setOrganizationName(Quassel::buildInfo().organizationName);
QCoreApplication::setOrganizationDomain(Quassel::buildInfo().organizationDomain);
QCoreApplication::setOrganizationName(Quassel::buildInfo().organizationName);
QCoreApplication::setOrganizationDomain(Quassel::buildInfo().organizationDomain);
#ifdef HAVE_KDE
// We need to init KCmdLineArgs first
// TODO: build an AboutData compat class to replace our aboutDlg strings
#ifdef HAVE_KDE
// We need to init KCmdLineArgs first
// TODO: build an AboutData compat class to replace our aboutDlg strings
aboutData.addLicense(KAboutData::License_GPL_V3);
aboutData.setOrganizationDomain(Quassel::buildInfo().organizationDomain.toUtf8());
KCmdLineArgs::init(argc, argv, &aboutData);
aboutData.addLicense(KAboutData::License_GPL_V3);
aboutData.setOrganizationDomain(Quassel::buildInfo().organizationDomain.toUtf8());
KCmdLineArgs::init(argc, argv, &aboutData);
// Initialize CLI arguments
// NOTE: We can't use tr() at this point, since app is not yet created
// Initialize CLI arguments
// NOTE: We can't use tr() at this point, since app is not yet created
// put shared client&core arguments here
cliParser->addSwitch("debug",'d', "Enable debug output");
// put shared client&core arguments here
cliParser->addSwitch("debug",'d', "Enable debug output");