Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/input/kis_input_profile_manager.cpp
Context not available. | |||||
188 | void KisInputProfileManager::loadProfiles() | 188 | void KisInputProfileManager::loadProfiles() | ||
---|---|---|---|---|---|
189 | { | 189 | { | ||
190 | //Remove any profiles that already exist | 190 | //Remove any profiles that already exist | ||
191 | d->currentProfile = 0; | 191 | d->currentProfile = nullptr; | ||
192 | qDeleteAll(d->profiles); | 192 | qDeleteAll(d->profiles); | ||
193 | d->profiles.clear(); | 193 | d->profiles.clear(); | ||
194 | 194 | | |||
Context not available. | |||||
223 | } | 223 | } | ||
224 | 224 | | |||
225 | if (p.contains(".kde") || p.contains(".krita")) { | 225 | if (p.contains(".kde") || p.contains(".krita")) { | ||
226 | // It's the user define one, drop the others | 226 | // It's the user defined one, drop the others | ||
227 | profileEntries[entry.name].clear(); | 227 | profileEntries[entry.name].clear(); | ||
228 | profileEntries[entry.name].append(entry); | 228 | profileEntries[entry.name].append(entry); | ||
229 | break; | 229 | break; | ||
Context not available. |