mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdecore: reserve memory for the KStandardDirs cache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
29defb8367
commit
0078793c98
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public:
|
|||
m_checkRestrictions(true),
|
||||
m_cacheMutex(QMutex::Recursive), // resourceDirs is recursive
|
||||
q(qq)
|
||||
{ }
|
||||
{ m_infocache.reserve(max_file_info); }
|
||||
|
||||
bool hasDataRestrictions(const QString &relPath) const;
|
||||
QStringList resourceDirs(const char* type, const QString& subdirForRestrictions);
|
||||
|
|
Loading…
Add table
Reference in a new issue