-// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
drag = new QDrag(this);
mime = new ItemMimeData;
drag->setMimeData(mime);
- mime->setData(mimeType, mimeInfo.toAscii());
+ mime->setData(mimeType, mimeInfo.toLatin1());
drag->setPixmap(pixmap);
theMimeInfo = mimeInfo;