diff options
author | Orgad Shaneh <[email protected]> | 2025-02-10 22:11:22 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2025-02-11 16:21:13 +0200 |
commit | 7988a45800ac34ac476c61bd659d5bdbe9b69cee (patch) | |
tree | 8e803e43092288a899449ff67c7bcd973bd9a005 /src/plugins/nim | |
parent | 4131042ac70251be5ec4c6169bfae3d31699df15 (diff) | |
parent | 10fc0ef43093bf67a621c470308d91202d9df1e6 (diff) |
Merge remote-tracking branch 'origin/16.0'
Change-Id: I85e9d3ec36f5cb0f7d213a9582e0e0841299c2b5
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimbletaskstep.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/nim/project/nimbletaskstep.cpp b/src/plugins/nim/project/nimbletaskstep.cpp index 9926e327716..c4deda5d4b6 100644 --- a/src/plugins/nim/project/nimbletaskstep.cpp +++ b/src/plugins/nim/project/nimbletaskstep.cpp @@ -45,7 +45,7 @@ private: void onDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles); void uncheckedAllDifferentFrom(QStandardItem *item); - bool validate(); + bool init() override; StringAspect m_taskName{this}; StringAspect m_taskArgs{this}; @@ -202,7 +202,7 @@ void NimbleTaskStep::setTaskName(const QString &name) selectTask(name); } -bool NimbleTaskStep::validate() +bool NimbleTaskStep::init() { if (m_taskName().isEmpty()) return true; @@ -217,8 +217,7 @@ bool NimbleTaskStep::validate() emitFaultyConfigurationMessage(); return false; } - - return true; + return AbstractProcessStep::init(); } // Factory |