summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-05-07 11:14:41 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-05-07 11:14:41 +0000
commitb7af35d6136875ca4848eb7f69aa51d3c9fb9de6 (patch)
treee43c4d13a45049471838af8b0504752a49573253
parent4f351315ee046b6ff4d13518700770ca769a82d0 (diff)
downloadVirtualBox-svn-b7af35d6136875ca4848eb7f69aa51d3c9fb9de6.tar.gz
FE/Qt: bugref:9653: !VirtualBox Manager: A bit of cleanup for cloud VM item.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84182 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r--src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp6
-rw-r--r--src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp
index c0030611e11..6f702fd09e7 100644
--- a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp
@@ -283,17 +283,17 @@ void UIVirtualMachineItemCloud::sltCreateGetCloudInstanceInfoTask()
/* Make sure item is of real cloud type and is initialized: */
AssertReturnVoid(itemType() == UIVirtualMachineItemType_CloudReal);
- /* Create and start task to acquire info async way only if there is no task yet: */
+ /* Create and start task to refresh info async way only if there is no task yet: */
if (!m_pTask)
{
m_pTask = new UITaskCloudRefreshMachineInfo(m_comCloudMachine);
connect(uiCommon().threadPoolCloud(), &UIThreadPool::sigTaskComplete,
- this, &UIVirtualMachineItemCloud::sltHandleGetCloudInstanceInfoDone);
+ this, &UIVirtualMachineItemCloud::sltHandleRefreshCloudMachineInfoDone);
uiCommon().threadPoolCloud()->enqueueTask(m_pTask);
}
}
-void UIVirtualMachineItemCloud::sltHandleGetCloudInstanceInfoDone(UITask *pTask)
+void UIVirtualMachineItemCloud::sltHandleRefreshCloudMachineInfoDone(UITask *pTask)
{
/* Skip unrelated tasks: */
if (!m_pTask || pTask != m_pTask)
diff --git a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h
index 804590dc523..d7038a4ceb6 100644
--- a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h
+++ b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h
@@ -116,8 +116,8 @@ private slots:
/** Create cloud VM info acquire task. */
void sltCreateGetCloudInstanceInfoTask();
- /** Handles signal about cloud VM info acquire task is done. */
- void sltHandleGetCloudInstanceInfoDone(UITask *pTask);
+ /** Handles signal about cloud VM info refresh task is done. */
+ void sltHandleRefreshCloudMachineInfoDone(UITask *pTask);
private: