forked from qt-creator/qt-creator
qmlpuppet: fix missing return
Change-Id: Ib92ab8e5b2787db125a317e6eae38e2602777fa4 Reviewed-by: Burak Hancerli <burak.hancerli@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -32,7 +32,7 @@ static void registerFonts(const QDir &projectDir)
|
||||
static QDir findProjectFolder(const QDir ¤tDir, int ret = 0)
|
||||
{
|
||||
if (ret > 2)
|
||||
QDir::current();
|
||||
return QDir::current();
|
||||
|
||||
QDirIterator it{currentDir.absolutePath(),
|
||||
{"*.qmlproject"},
|
||||
|
||||
Reference in New Issue
Block a user