VirtualBox

Changeset 59779 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 22, 2016 4:45:57 PM (9 years ago)
Author:
vboxsync
Message:

DnD: FE/Qt: Do not show empty error boxes for enter/drag events in case no/unsupported Guest Additions are installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDHandler.cpp

    r59334 r59779  
    55
    66/*
    7  * Copyright (C) 2011-2015 Oracle Corporation
     7 * Copyright (C) 2011-2016 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    6363#include <VBox/log.h>
    6464
    65 #if 0
     65#if 1
    6666# ifdef DEBUG
    6767#  include <QTextStream>
    6868/** Enable this to log debug output of a Qt debug build to a file defined by DEBUG_DND_QT_LOGFILE. */
    6969#  define DEBUG_DND_QT
    70 /** File to log Qt debug output to. */
    71 #  define DEBUG_DND_QT_LOGFILE "/var/tmp/qt.log"
     70#  ifdef RT_OS_WINDOWS
     71#   define DEBUG_DND_QT_LOGFILE "c:\\temp\\VBoxQt.log"
     72#  else
     73#   define DEBUG_DND_QT_LOGFILE "/var/tmp/vboxqt.log"
     74#  endif
    7275# endif /* DEBUG */
    7376#endif
     
    121124    }
    122125
    123     msgCenter().cannotDropDataToGuest(m_dndTarget, m_pParent);
    124126    return Qt::IgnoreAction;
    125127}
     
    146148        return toQtDnDAction(result);
    147149
    148     msgCenter().cannotDropDataToGuest(m_dndTarget, m_pParent);
    149150    return Qt::IgnoreAction;
    150151}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette