aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/projectintropage.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-06-06 16:58:05 +0200
committerhjk <[email protected]>2023-06-08 07:00:01 +0000
commit19a6428f54c3a7a9c63f386136780657279ac33c (patch)
tree30bd5dca4dc4464dd9ffcd9f130f1fd8e7151b4e /src/libs/utils/projectintropage.cpp
parentf83fb72af8c8c872b6a55f8d8d53db41d819ad7b (diff)
More deprecation induced busywork
QString::count() will vanish. Change-Id: I65672fa648c0969930e9398ec4e541a0771c8a57 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/libs/utils/projectintropage.cpp')
-rw-r--r--src/libs/utils/projectintropage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/projectintropage.cpp b/src/libs/utils/projectintropage.cpp
index dba9a801e4b..0b1a0a63557 100644
--- a/src/libs/utils/projectintropage.cpp
+++ b/src/libs/utils/projectintropage.cpp
@@ -303,7 +303,7 @@ bool ProjectIntroPage::validateProjectName(const QString &name, QString *errorMe
// if pos is set by validate it is cought at the bottom where it shows
// a more detailed error message
- if (validatorState != QValidator::Acceptable && (pos == -1 || pos >= name.count())) {
+ if (validatorState != QValidator::Acceptable && (pos == -1 || pos >= name.size())) {
if (errorMessage) {
if (d->m_projectNameValidatorUserMessage.isEmpty())
*errorMessage = Tr::tr("Project name is invalid.");