mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 10:22:50 +00:00
kgreeter: indicate that the KCM needs authorization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3ed892b46a
commit
222670b71c
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,7 @@ KCMGreeter::KCMGreeter(QWidget* parent, const QVariantList& args)
|
|||
setupUi(this);
|
||||
|
||||
KAboutData *about =
|
||||
new KAboutData(I18N_NOOP("KCMGreeter"), 0,
|
||||
new KAboutData(I18N_NOOP("kcmkgreeter"), 0,
|
||||
ki18n("KDE Greeter Module"),
|
||||
0, KLocalizedString(), KAboutData::License_GPL,
|
||||
ki18n("Copyright 2022, Ivailo Monev <email>xakepa10@gmail.com</email>"
|
||||
|
@ -55,6 +55,9 @@ KCMGreeter::KCMGreeter(QWidget* parent, const QVariantList& args)
|
|||
about->addAuthor(ki18n("Ivailo Monev"), KLocalizedString(), "xakepa10@gmail.com");
|
||||
setAboutData(about);
|
||||
|
||||
setNeedsAuthorization(true);
|
||||
setButtons(KCModule::Help | KCModule::Apply);
|
||||
|
||||
load();
|
||||
|
||||
stylesbox->addItems(QStyleFactory::keys());
|
||||
|
|
Loading…
Add table
Reference in a new issue