VirtualBox

Changeset 103496 in vbox


Ignore:
Timestamp:
Feb 21, 2024 2:32:19 PM (11 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10450: Get rid of obsolete stuff UIDnDMIMEData; This is unable to build with Qt6.5.3.

File:
1 edited

Legend:

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

    r101566 r103496  
    8383
    8484    LogFlowFunc(("%s: %RTbool (QtMimeData: %RTbool, curAction=0x%x)\n",
    85                  strMIMEType.toStdString().c_str(), fRc, QMimeData::hasFormat(strMIMEType), m_curAction));
     85                 strMIMEType.toUtf8().constData(), fRc, QMimeData::hasFormat(strMIMEType), m_curAction));
    8686
    8787    return fRc;
     
    103103
    104104    LogFlowFunc(("state=%RU32, curAction=0x%x, defAction=0x%x, mimeType=%s, type=%d (%s)\n",
    105                  m_enmState, m_curAction, m_defAction, strMIMEType.toStdString().c_str(), vaType, metaType.name()));
     105                 m_enmState, m_curAction, m_defAction, strMIMEType.toUtf8().constData(), vaType, metaType.name()));
    106106
    107107    int rc = VINF_SUCCESS;
     
    147147        else if (!m_lstFormats.contains(strMIMEType))
    148148        {
    149             LogRel(("DnD: Unsupported MIME type '%s'\n", strMIMEType.toStdString().c_str()));
     149            LogRel(("DnD: Unsupported MIME type '%s'\n", strMIMEType.toUtf8().constData()));
    150150            rc = VERR_NOT_SUPPORTED;
    151151        }
     
    176176        {
    177177            LogRel3(("DnD: Returning data for MIME type=%s, variant type=%s, rc=%Rrc\n",
    178                      strMIMEType.toStdString().c_str(), metaType.name(), rc));
     178                     strMIMEType.toUtf8().constData(), metaType.name(), rc));
    179179
    180180            return vaData;
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