- Timestamp:
- May 12, 2015 12:55:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDHandler.cpp
r55821 r55826 89 89 const QMimeData *pMimeData) 90 90 { 91 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 91 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 92 92 m_enmMode, screenID, x, y, toVBoxDnDAction(proposedAction))); 93 93 … … 113 113 const QMimeData *pMimeData) 114 114 { 115 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 115 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 116 116 m_enmMode, screenID, x, y, toVBoxDnDAction(proposedAction))); 117 117 … … 135 135 const QMimeData *pMimeData) 136 136 { 137 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 137 LogFlowFunc(("enmMode=%RU32, screenID=%RU32, x=%d, y=%d, action=%ld\n", 138 138 m_enmMode, screenID, x, y, toVBoxDnDAction(proposedAction))); 139 139 … … 212 212 Qt::DropAction defAction, Qt::DropActions actions) 213 213 { 214 int rc = VINF_SUCCESS; 215 216 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 217 214 218 m_lstFormats = lstFormats; 215 219 m_defAction = defAction; … … 218 222 LogFlowFunc(("m_defAction=0x%x\n", m_defAction)); 219 223 LogFlowFunc(("Number of formats: %d\n", m_lstFormats.size())); 220 # ifdef DEBUG224 # ifdef DEBUG 221 225 for (int i = 0; i < m_lstFormats.size(); i++) 222 226 LogFlowFunc(("\tFormat %d: %s\n", i, m_lstFormats.at(i).toAscii().constData())); 223 #endif 224 225 int rc = VINF_SUCCESS; 226 227 #ifdef RT_OS_WINDOWS 227 # endif 228 229 # ifdef RT_OS_WINDOWS 228 230 229 231 UIDnDDropSource *pDropSource = new UIDnDDropSource(m_pParent); … … 255 257 pDataObject->Release(); 256 258 257 # else /* !RT_OS_WINDOWS */259 # else /* !RT_OS_WINDOWS */ 258 260 259 261 QDrag *pDrag = new QDrag(m_pParent); … … 287 289 /* pDrag will be cleaned up by Qt automatically. */ 288 290 289 #endif /* !RT_OS_WINDOWS */ 291 # endif /* !RT_OS_WINDOWS */ 292 293 #else /* VBOX_WITH_DRAG_AND_DROP_GH */ 294 295 rc = VERR_NOT_SUPPORTED; 296 297 #endif 290 298 291 299 LogFlowFuncLeaveRC(rc); … … 297 305 int rc; 298 306 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 299 307 300 308 LogFlowFunc(("enmMode=%RU32, m_fIsPending=%RTbool, screenID=%RU32\n", m_enmMode, m_fIsPending, screenID)); 301 309 … … 379 387 { 380 388 rc = dragStart(lstFmtNative, 381 toQtDnDAction(defaultAction), toQtDnDActions(vecActions)); 389 toQtDnDAction(defaultAction), toQtDnDActions(vecActions)); 382 390 } 383 391 else /* No format data from the guest arrived yet. */ … … 433 441 m_pParent); 434 442 435 LogFlowFunc(("fCanceled=%RTbool, fCompleted=%RTbool, isOk=%RTbool, hrc=%Rhrc\n", 443 LogFlowFunc(("fCanceled=%RTbool, fCompleted=%RTbool, isOk=%RTbool, hrc=%Rhrc\n", 436 444 progress.GetCanceled(), progress.GetCompleted(), progress.isOk(), progress.GetResultCode())); 437 445
Note:
See TracChangeset
for help on using the changeset viewer.