Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions frame/layershell/dlayershellwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
d->keyboardInteractivity = interactivity;
Q_EMIT keyboardInteractivityChanged();
}

}

DLayerShellWindow::KeyboardInteractivity DLayerShellWindow::keyboardInteractivity() const
Expand Down Expand Up @@ -164,15 +163,15 @@
{
if (close != d->closeOnDismissed) {
d->closeOnDismissed = close;
}
}
}

void DLayerShellWindow::setScope(const QString& scope)

Check warning on line 169 in frame/layershell/dlayershellwindow.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

The function 'setScope' is never used.
{
if (scope != d->scope) {
d->scope = scope;
Q_EMIT scopeChanged();
}
}
}

QString DLayerShellWindow::scope() const
Expand Down Expand Up @@ -215,7 +214,7 @@
#ifdef BUILD_WITH_X11
else if (auto xcbWindow = dynamic_cast<QNativeInterface::Private::QXcbWindow*>(window->handle())) {
new LayerShellEmulation(window, this);
qCWarning(layershellwindow) << "not a wayland window, try to emulate on x11";
qCInfo(layershellwindow) << "not a wayland window, try to emulate on x11";
}
#endif
else {
Expand Down