qwindowmime.cpp: fix typo, remove unused variable
Change-Id: If557b191ea7be95a6c9e71069eb1e744f3e73b47 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>bb10
parent
a4a33a284f
commit
8bed6b6a7f
|
|
@ -791,7 +791,6 @@ QVariant QWindowsMimeURI::convertToMime(const QString &mimeType, LPDATAOBJECT pD
|
|||
{
|
||||
if (mimeType == QLatin1String("text/uri-list")) {
|
||||
if (canGetData(CF_HDROP, pDataObj)) {
|
||||
QByteArray texturi;
|
||||
QList<QVariant> urls;
|
||||
|
||||
QByteArray data = getData(CF_HDROP, pDataObj);
|
||||
|
|
@ -1354,7 +1353,7 @@ bool QLastResortMimes::canConvertToMime(const QString &mimeType, IDataObject *pD
|
|||
int cf = RegisterClipboardFormat(reinterpret_cast<const wchar_t *> (clipFormat.utf16()));
|
||||
return canGetData(cf, pDataObj);
|
||||
} else if (formats.keys(mimeType).isEmpty()) {
|
||||
// if it is not in there then register it an see if we can get it
|
||||
// if it is not in there then register it and see if we can get it
|
||||
int cf = QWindowsMime::registerMimeType(mimeType);
|
||||
return canGetData(cf, pDataObj);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue