diff options
Diffstat (limited to 'tdeutils')
-rw-r--r-- | tdeutils/tdecmoduleinfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tdeutils/tdecmoduleinfo.cpp b/tdeutils/tdecmoduleinfo.cpp index 9eeac6585..b94603601 100644 --- a/tdeutils/tdecmoduleinfo.cpp +++ b/tdeutils/tdecmoduleinfo.cpp @@ -227,8 +227,11 @@ TDECModuleInfo::isHiddenByDefault() const return _isHiddenByDefault; } -bool TDECModuleInfo::needsTest() const +bool TDECModuleInfo::needsTest() const { + if (!_allLoaded) + const_cast<TDECModuleInfo*>(this)->loadAll(); + return d->testModule; } |