Changeset 457 for trunk/src/gui/kernel


Ignore:
Timestamp:
Jan 20, 2010, 9:12:24 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Fixed converting text from/to local code page during DnD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qmime_pm.cpp

    r455 r457  
    274274{
    275275    if (requests.count()) {
    276 #ifndef QT_NO_DEBUG
    277         qWarning("In the previous DnD session, the drop target sent "
    278                  "DM_RENDERPREPARE/DM_RENDER\n"
    279                  "for some drag item but didn't send DM_ENDCONVERSATION!");
    280 #endif
     276        DEBUG(("In the previous DnD session, the drop target sent "
     277               "DM_RENDERPREPARE/DM_RENDER\n"
     278               "for some drag item but didn't send DM_ENDCONVERSATION!"));
    281279        qDeleteAll(requests);
    282280        requests.clear();
     
    22292227            itemData = url.toEncoded();
    22302228        } else {
    2231             itemData = allData;
     2229            itemData = ;
    22322230        }
    22332231        return true;
     
    22652263{
    22662264    if (mimeType == QLatin1String("text/plain")) {
    2267         allData = itemData;
     2265        allData = ;
    22682266        return true;
    22692267    }
Note: See TracChangeset for help on using the changeset viewer.