Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwineffects/kcm.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 85 | { | |||
---|---|---|---|---|---|
88 | dialog->winId(); | 88 | dialog->winId(); | ||
89 | 89 | | |||
90 | if (context && context->window()) { | 90 | if (context && context->window()) { | ||
91 | dialog->windowHandle()->setTransientParent(context->window()); | 91 | dialog->windowHandle()->setTransientParent(context->window()); | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | if (dialog->exec() == QDialog::Accepted) { | 94 | if (dialog->exec() == QDialog::Accepted) { | ||
95 | if (!dialog->changedEntries().isEmpty()) { | 95 | if (!dialog->changedEntries().isEmpty()) { | ||
96 | m_model->load(); | 96 | m_model->load(EffectModel::LoadOptions::KeepDirty); | ||
97 | } | 97 | } | ||
98 | } | 98 | } | ||
99 | 99 | | |||
100 | delete dialog; | 100 | delete dialog; | ||
101 | } | 101 | } | ||
102 | 102 | | |||
103 | void DesktopEffectsKCM::configure(const QString &pluginId, QQuickItem *context) | 103 | void DesktopEffectsKCM::configure(const QString &pluginId, QQuickItem *context) | ||
104 | { | 104 | { | ||
Show All 18 Lines |