Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/fonts.cpp
Show First 20 Lines • Show All 462 Lines • ▼ Show 20 Line(s) | |||||
463 | 463 | | |||
464 | 464 | | |||
465 | /**** KFonts ****/ | 465 | /**** KFonts ****/ | ||
466 | 466 | | |||
467 | KFonts::KFonts(QObject *parent, const QVariantList &args) | 467 | KFonts::KFonts(QObject *parent, const QVariantList &args) | ||
468 | : KQuickAddons::ConfigModule(parent, args) | 468 | : KQuickAddons::ConfigModule(parent, args) | ||
469 | , m_fontAASettings(new FontAASettings(this)) | 469 | , m_fontAASettings(new FontAASettings(this)) | ||
470 | { | 470 | { | ||
471 | qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings); | | |||
472 | KAboutData* about = new KAboutData("kcm_fonts", i18n("Fonts"), | 471 | KAboutData* about = new KAboutData("kcm_fonts", i18n("Fonts"), | ||
473 | "0.1", QString(), KAboutLicense::LGPL); | 472 | "0.1", QString(), KAboutLicense::LGPL); | ||
474 | about->addAuthor(i18n("Antonis Tsiapaliokas"), QString(), "antonis.tsiapaliokas@kde.org"); | 473 | about->addAuthor(i18n("Antonis Tsiapaliokas"), QString(), "antonis.tsiapaliokas@kde.org"); | ||
475 | setAboutData(about); | 474 | setAboutData(about); | ||
476 | qmlRegisterType<QStandardItemModel>(); | 475 | qmlRegisterType<QStandardItemModel>(); | ||
477 | setButtons(Apply | Default | Help); | 476 | setButtons(Apply | Default | Help); | ||
478 | 477 | | |||
479 | auto updateState = [this]() { | 478 | auto updateState = [this]() { | ||
▲ Show 20 Lines • Show All 293 Lines • Show Last 20 Lines |