Commit 1f4489a4 authored by Alexander Volkov's avatar Alexander Volkov
Browse files

Amend previous commit

parent cc8feebf
......@@ -331,7 +331,7 @@ void ContextManager::slotRowsInserted()
// thumbnail bar is visible, the image will not be selected in the thumbnail
// bar.
if (d->mUrlToSelect.isValid()) {
QMetaObject::invokeMethod(this, "selectUrlToSelect", Qt::QueuedConnection);
QMetaObject::invokeMethod(this, &ContextManager::selectUrlToSelect, Qt::QueuedConnection);
}
}
......
......@@ -69,7 +69,7 @@ void DocumentJob::setDocument(const Document::Ptr& doc)
void DocumentJob::start()
{
QMetaObject::invokeMethod(this, "doStart", Qt::QueuedConnection);
QMetaObject::invokeMethod(this, &DocumentJob::doStart, Qt::QueuedConnection);
}
bool DocumentJob::checkDocumentEditor()
......
......@@ -273,7 +273,7 @@ void RasterImageView::loadFromDocument()
void RasterImageView::slotDocumentMetaInfoLoaded()
{
if (document()->size().isValid()) {
QMetaObject::invokeMethod(this, "finishSetDocument", Qt::QueuedConnection);
QMetaObject::invokeMethod(this, &RasterImageView::finishSetDocument, Qt::QueuedConnection);
} else {
// Could not retrieve image size from meta info, we need to load the
// full image now.
......
......@@ -42,7 +42,7 @@ void DBusAbstractAdaptor::signalPropertyChange(const QString &propertyName, cons
if (firstChange) {
// trigger signal emission on next event loop
QMetaObject::invokeMethod(this, "emitPropertiesChangeDBusSignal", Qt::QueuedConnection);
QMetaObject::invokeMethod(this, &DBusAbstractAdaptor::emitPropertiesChangeDBusSignal, Qt::QueuedConnection);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment