mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +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
|
||||
|
||||
#include <QClipboard>
|
||||
#include <QDir>
|
||||
#include <QEventLoop>
|
||||
#include <QFileOpenEvent>
|
||||
#include <QHash>
|
||||
@ -414,14 +415,16 @@ public:
|
||||
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)
|
||||
qWarning("QMacPasteboardMimeGraphics: Cannot handle multiple member data");
|
||||
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;
|
||||
ret.append(data.toByteArray());
|
||||
|
Loading…
Reference in New Issue
Block a user