forked from quickshell/quickshell
core: replace throws with qFatal
This commit is contained in:
parent
055b191a67
commit
9625129844
5 changed files with 4 additions and 7 deletions
|
|
@ -13,7 +13,6 @@ QSWaylandSessionLockIntegration::createShellSurface(QtWaylandClient::QWaylandWin
|
|||
if (lock == nullptr || lock->surface == nullptr || !lock->surface->isExposed()) {
|
||||
qFatal() << "Visibility canary failed. A window with a LockWindowExtension MUST be set to "
|
||||
"visible via LockWindowExtension::setVisible";
|
||||
throw nullptr;
|
||||
}
|
||||
|
||||
return lock->surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue