Skip to content

Commit 8d366ef

Browse files
committed
chore: reduce layershell emulate log message's log level
降低 layershell 协议模拟行为对应的日志等级 Log:
1 parent 742c43c commit 8d366ef

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

frame/layershell/dlayershellwindow.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ void DLayerShellWindow::setKeyboardInteractivity(DLayerShellWindow::KeyboardInte
127127
d->keyboardInteractivity = interactivity;
128128
Q_EMIT keyboardInteractivityChanged();
129129
}
130-
131130
}
132131

133132
DLayerShellWindow::KeyboardInteractivity DLayerShellWindow::keyboardInteractivity() const
@@ -164,15 +163,15 @@ void DLayerShellWindow::setCloseOnDismissed(bool close)
164163
{
165164
if (close != d->closeOnDismissed) {
166165
d->closeOnDismissed = close;
167-
}
166+
}
168167
}
169168

170169
void DLayerShellWindow::setScope(const QString& scope)
171170
{
172171
if (scope != d->scope) {
173172
d->scope = scope;
174173
Q_EMIT scopeChanged();
175-
}
174+
}
176175
}
177176

178177
QString DLayerShellWindow::scope() const
@@ -215,7 +214,7 @@ DLayerShellWindow::DLayerShellWindow(QWindow* window)
215214
#ifdef BUILD_WITH_X11
216215
else if (auto xcbWindow = dynamic_cast<QNativeInterface::Private::QXcbWindow*>(window->handle())) {
217216
new LayerShellEmulation(window, this);
218-
qCWarning(layershellwindow) << "not a wayland window, try to emulate on x11";
217+
qCInfo(layershellwindow) << "not a wayland window, try to emulate on x11";
219218
}
220219
#endif
221220
else {

0 commit comments

Comments
 (0)