forked from qt-creator/qt-creator
QmlDesigner: Remove hardcoded timeout from 3D import puppet
It doesn't seem that this timeout is needed. Fixes: QDS-6909 Change-Id: I7794d8548acd75fbb220a20458d091f413b5fcbb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -77,9 +77,8 @@ void import3D(const QString &sourceAsset, const QString &outDir, const QString &
|
||||
}
|
||||
}
|
||||
|
||||
// Allow little time for file operations to finish
|
||||
QTimer::singleShot(2000, nullptr, []() {
|
||||
qApp->exit(0);
|
||||
QTimer::singleShot(0, nullptr, []() {
|
||||
qApp->quit();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user