diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-12-06 09:18:24 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-12-06 09:18:24 +0000 |
commit | 24f50d6284536d1015f6ae1449348051297f263b (patch) | |
tree | 9f097c9a447f36e6014802513b1b704f542b4b24 /src/VBox/HostServices/DragAndDrop | |
parent | 78e6615bc65a4f12d29f41cb5eb880642ef7b0b5 (diff) | |
download | VirtualBox-svn-24f50d6284536d1015f6ae1449348051297f263b.tar.gz |
DnD/HostService: Resolve message types to strings in DnDManager:DumpQueue().
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97747 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/HostServices/DragAndDrop')
-rw-r--r-- | src/VBox/HostServices/DragAndDrop/dndmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VBox/HostServices/DragAndDrop/dndmanager.cpp b/src/VBox/HostServices/DragAndDrop/dndmanager.cpp index fe380da2ada..2cf3b352daa 100644 --- a/src/VBox/HostServices/DragAndDrop/dndmanager.cpp +++ b/src/VBox/HostServices/DragAndDrop/dndmanager.cpp @@ -108,7 +108,12 @@ void DnDManager::DumpQueue(void) { LogFunc(("Current queue (%zu items, FIFO) is: %s", m_queueMsg.size(), m_queueMsg.isEmpty() ? "<Empty>" : "")); for (size_t i = 0; i < m_queueMsg.size(); ++i) - Log(("%s ", DnDHostMsgToStr(m_queueMsg[i]->GetType()))); + { + if (i > 0) + Log((" - ")); + uint32_t const uType = m_queueMsg[i]->GetType(); + Log(("%s (%d / %#x)", DnDHostMsgToStr(uType), uType, uType)); + } Log(("\n")); } #endif /* DEBUG */ |