Changeset 344


Ignore:
Timestamp:
Nov 24, 2009, 12:55:12 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/kernel: mime: Fixed putting of "text/html" data to the clipboard (plain text instead of the HTML text was put).

File:
1 edited

Legend:

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

    r343 r344  
    451451            o[j] = '\0';
    452452    } else if (format == CF_TextUnicode || CF_TextHtml) {
    453         QString str = mimeData->text();
     453        QString str = format == CF_TextUnicode ?
     454                      mimeData->text() : mimeData->html();
    454455        const QChar *u = str.unicode();
    455456        QString res;
Note: See TracChangeset for help on using the changeset viewer.