- the providersurl setting in the .knsrc file was wrong and no longer needed: just use the default
- need to pass the explicit name of the .knsrc file else KNS3 thinks we want the kontact.knsrc
Details
Details
- Reviewers
mlaurent - Commits
- R210:d4b52772038e: Make Get New Stuff work again
seems to work now.
Diff Detail
Diff Detail
- Repository
- R210 KOrganizer
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
save/restore application settings
too bad the KNS3 API doesn't have setFoo() to override these
note to self: KOrganizer should have an easier way to access AboutData so we only need to change the application name, version in that 1 location
Comment Actions
Now I think that kns3 must be adapt and not created a workaround for it.
src/actionmanager.cpp | ||
---|---|---|
1194 | void KAboutData::setApplicationData(const KAboutData &aboutData) if (s_registry->m_appData) { *s_registry->m_appData = aboutData; } else { s_registry->m_appData = new KAboutData(aboutData); } // For applicationDisplayName & desktopFileName, which are only properties of QGuiApplication, // we have to try to set them via the property system, as the static getter methods are // part of QtGui only. Disadvantage: requires an app instance. // So set either all or none of the properties & warn about it QCoreApplication *app = QCoreApplication::instance(); if (app) { app->setApplicationVersion(aboutData.version()); app->setApplicationName(aboutData.componentName()); app->setOrganizationDomain(aboutData.organizationDomain()); app->setProperty("applicationDisplayName", aboutData.displayName()); app->setProperty("desktopFileName", aboutData.desktopFileName()); } else { qCWarning(KABOUTDATA) << "Could not initialize the equivalent properties of Q*Application: no instance (yet) existing."; } } |