diff options
Diffstat (limited to 'src/plugins/qmldesigner/utils/filedownloader.cpp')
-rw-r--r-- | src/plugins/qmldesigner/utils/filedownloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/utils/filedownloader.cpp b/src/plugins/qmldesigner/utils/filedownloader.cpp index 38f0caeeb3..2b0dacea2d 100644 --- a/src/plugins/qmldesigner/utils/filedownloader.cpp +++ b/src/plugins/qmldesigner/utils/filedownloader.cpp @@ -16,12 +16,12 @@ namespace QmlDesigner { FileDownloader::FileDownloader(QObject *parent) : QObject(parent) { - QObject::connect(this, &FileDownloader::downloadFailed, this, [this]() { + QObject::connect(this, &FileDownloader::downloadFailed, this, [this] { if (m_outputFile.exists()) m_outputFile.remove(); }); - QObject::connect(this, &FileDownloader::downloadCanceled, this, [this]() { + QObject::connect(this, &FileDownloader::downloadCanceled, this, [this] { if (m_outputFile.exists()) m_outputFile.remove(); }); |