Changeset View
Changeset View
Standalone View
Standalone View
libs/widgetutils/KoResourcePaths.cpp
Context not available. | |||||
141 | QMutex relativesMutex; | 141 | QMutex relativesMutex; | ||
---|---|---|---|---|---|
142 | QMutex absolutesMutex; | 142 | QMutex absolutesMutex; | ||
143 | 143 | | |||
144 | bool ready = false; // Paths have been initialized | 144 | // Have paths have been initialized? Assume yes to run unit tests correctly. Krita's usual main() will initially set this to false. | ||
145 | bool ready = true; | ||||
145 | 146 | | |||
146 | QStringList aliases(const QString &type) | 147 | QStringList aliases(const QString &type) | ||
147 | { | 148 | { | ||
Context not available. | |||||
553 | return path + '/' + filename; | 554 | return path + '/' + filename; | ||
554 | } | 555 | } | ||
555 | 556 | | |||
556 | void KoResourcePaths::setReady() | 557 | void KoResourcePaths::setReady(bool ready) | ||
557 | { | 558 | { | ||
558 | s_instance->d->ready = true; | 559 | s_instance->d->ready = ready; | ||
559 | } | 560 | } | ||
560 | 561 | | |||
561 | void KoResourcePaths::assertReady() | 562 | void KoResourcePaths::assertReady() | ||
Context not available. |