aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/projectintropage.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2025-04-17 15:34:12 +0200
committerhjk <[email protected]>2025-04-23 14:42:14 +0000
commit7ca4c465539f04deeba6987b9d9a199bb2d94d0c (patch)
tree6af6ed0184cb4b414ccbd66091c1254e4c37596b /src/libs/utils/projectintropage.h
parent680cb1b365f8ed54bed46c92bc2fbb66eac66aac (diff)
Utils: Use Result<> in FancyLinedit's validator
In lots of places, no explicit error message was set. Some are added in the patch but Most of them use QString() for now. Change-Id: I256e37a8db62ffb193fd017f71d476095adbddaf Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/libs/utils/projectintropage.h')
-rw-r--r--src/libs/utils/projectintropage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/projectintropage.h b/src/libs/utils/projectintropage.h
index a43aee75406..4dcdf7cdb50 100644
--- a/src/libs/utils/projectintropage.h
+++ b/src/libs/utils/projectintropage.h
@@ -47,7 +47,7 @@ public:
void setProjectIndex(int index);
ProjectInfo currentProjectInfo() const;
- bool validateProjectName(const QString &name, QString *errorMessage);
+ Result<> validateProjectName(const QString &name);
// Calls slotChanged() - i.e. tell the page that some of its fields have been updated.
// This function is useful if you programmatically update the fields of the page (i.e. from