Fix argument type in QMetaObject invoke
Commit bb70febdbe
ported an argument from
QRect to QRectF. However, not all local invocations were updated.
REVIEW: 128641
This commit is contained in:
parent
c8fdd7ed20
commit
8031d80df5
@ -462,7 +462,7 @@ void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y)
|
|||||||
foreach (const QString &appletName, appletNames) {
|
foreach (const QString &appletName, appletNames) {
|
||||||
qDebug() << "adding" << appletName;
|
qDebug() << "adding" << appletName;
|
||||||
|
|
||||||
metaObject()->invokeMethod(this, "createApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QRect, QRect(x, y, -1, -1)));
|
metaObject()->invokeMethod(this, "createApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QRectF, QRectF(x, y, -1, -1)));
|
||||||
}
|
}
|
||||||
} else if (mimeData->hasUrls()) {
|
} else if (mimeData->hasUrls()) {
|
||||||
//TODO: collect the mimetypes of available script engines and offer
|
//TODO: collect the mimetypes of available script engines and offer
|
||||||
|
Loading…
Reference in New Issue
Block a user