Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b3c2622f
Commit
b3c2622f
authored
Feb 03, 2009
by
hjk
Browse files
Fixes: potential speed improvement
RevBy: dt Details: create QDir objects ony when needed
parent
63a5f15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/proparser/profileevaluator.cpp
View file @
b3c2622f
...
...
@@ -1841,7 +1841,8 @@ bool ProFileEvaluator::Private::evaluateConditionalFunction(const QString &funct
dirstr
=
file
.
left
(
slsh
+
1
);
file
=
file
.
right
(
file
.
length
()
-
slsh
-
1
);
}
cond
=
QDir
(
dirstr
).
entryList
(
QStringList
(
file
)).
count
();
if
(
file
.
contains
(
'*'
)
||
file
.
contains
(
'?'
))
cond
=
QDir
(
dirstr
).
entryList
(
QStringList
(
file
)).
count
();
break
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment