From 14fccb01d0570059503ac1dfd48311ad795bc6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 19 Oct 2023 19:32:03 +0200 Subject: [PATCH] Clean code --- YACReaderLibrary/library_creator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/YACReaderLibrary/library_creator.cpp b/YACReaderLibrary/library_creator.cpp index 3d4b9e1e..2f3a4d86 100644 --- a/YACReaderLibrary/library_creator.cpp +++ b/YACReaderLibrary/library_creator.cpp @@ -231,12 +231,12 @@ void LibraryCreator::run() } QLOG_INFO() << "Update library END"; } - // msleep(100);//TODO try to solve the problem with the udpate dialog (ya no se usa más...) + if (partialUpdate) { emit updatedCurrentFolder(folderDestinationModelIndex); - emit finished(); - } else // TODO check this part!! - emit finished(); + } + + emit finished(); creation = false; }