From ac95ce6e0538249e9c395904b49b078234fdcb5e Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 31 Aug 2020 00:44:34 +0100 Subject: New upstream version 2.2.4.5 --- Core.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Core.cpp') diff --git a/Core.cpp b/Core.cpp index 25f26eb..1a2f3a0 100755 --- a/Core.cpp +++ b/Core.cpp @@ -726,6 +726,9 @@ void Core::connectInterfaceAndSync(const unsigned int &index) if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::newActionOnList,this,&Core::getActionOnList, Qt::QueuedConnection)) ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newActionOnList()"); + if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::askProductKey,this,&Core::askProductKey, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newActionOnList()"); + if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::pushFileProgression, currentCopyInstance.interface,&PluginInterface_Themes::setFileProgression, Qt::QueuedConnection)) ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for pushFileProgression()"); if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::pushGeneralProgression, currentCopyInstance.interface,&PluginInterface_Themes::setGeneralProgression, Qt::QueuedConnection)) @@ -758,6 +761,18 @@ void Core::connectInterfaceAndSync(const unsigned int &index) periodicSynchronizationWithIndex(index); } +void Core::changeToUltimate() +{ + unsigned int index_sub_loop=0; + while(index_sub_loopchangeToUltimate(); + index_sub_loop++; + } +} + void Core::periodicSynchronization() { unsigned int index_sub_loop=0; -- cgit v1.2.3