mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Mac compil and warning fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25142 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e327d63c91
commit
a1756319b3
@ -62,6 +62,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
|
#include <QDir>
|
||||||
#include <QEventLoop>
|
#include <QEventLoop>
|
||||||
#include <QFileOpenEvent>
|
#include <QFileOpenEvent>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
@ -414,14 +415,16 @@ public:
|
|||||||
return mimeFor(flav) == mime;
|
return mimeFor(flav) == mime;
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant convertToMime(QString const & mime, QList<QByteArray> data, QString flav)
|
QVariant convertToMime(QString const & /*mime*/, QList<QByteArray> data,
|
||||||
|
QString /*flav*/)
|
||||||
{
|
{
|
||||||
if(data.count() > 1)
|
if(data.count() > 1)
|
||||||
qWarning("QMacPasteboardMimeGraphics: Cannot handle multiple member data");
|
qWarning("QMacPasteboardMimeGraphics: Cannot handle multiple member data");
|
||||||
return data.first();
|
return data.first();
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<QByteArray> convertFromMime(QString const & mime, QVariant data, QString flav)
|
QList<QByteArray> convertFromMime(QString const & /*mime*/,
|
||||||
|
QVariant data, QString /*flav*/)
|
||||||
{
|
{
|
||||||
QList<QByteArray> ret;
|
QList<QByteArray> ret;
|
||||||
ret.append(data.toByteArray());
|
ret.append(data.toByteArray());
|
||||||
|
Loading…
Reference in New Issue
Block a user