Add missing Q_EMIT when emitting signals
This commit is contained in:
parent
5b5ef7f07e
commit
d6e8148675
2 changed files with 3 additions and 3 deletions
|
@ -57,10 +57,10 @@ Module::Module(QWidget *parent, const QVariantList &args) :
|
|||
});
|
||||
|
||||
connect(ui->scriptSelector, &KPluginSelector::changed, this, [this](bool isChanged){
|
||||
changed(isChanged || !m_pendingDeletions.isEmpty());
|
||||
Q_EMIT changed(isChanged || !m_pendingDeletions.isEmpty());
|
||||
});
|
||||
connect(ui->scriptSelector, &KPluginSelector::defaulted, this, [this](bool isDefaulted){
|
||||
defaulted(isDefaulted && m_pendingDeletions.isEmpty());
|
||||
Q_EMIT defaulted(isDefaulted && m_pendingDeletions.isEmpty());
|
||||
});
|
||||
connect(this, &Module::defaultsIndicatorsVisibleChanged, ui->scriptSelector, &KPluginSelector::setDefaultsIndicatorsVisible);
|
||||
connect(ui->importScriptButton, &QPushButton::clicked, this, &Module::importScript);
|
||||
|
|
|
@ -133,7 +133,7 @@ void WaylandBackend::lockRequest(bool persistent, QRect region)
|
|||
qDebug() << "------ LOCKED! ------";
|
||||
if(lockHint()) {
|
||||
m_lockedPointer->setCursorPositionHint(QPointF(10., 10.));
|
||||
forceSurfaceCommit();
|
||||
Q_EMIT forceSurfaceCommit();
|
||||
}
|
||||
|
||||
Q_EMIT lockChanged(true);
|
||||
|
|
Loading…
Reference in a new issue