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:
Abdelrazak Younes 2008-06-05 13:27:37 +00:00
parent e327d63c91
commit a1756319b3

View File

@ -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());