core: replace throws with qFatal

This commit is contained in:
outfoxxed 2024-03-27 02:13:47 -07:00
parent 055b191a67
commit 9625129844
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 4 additions and 7 deletions

View file

@ -34,7 +34,7 @@ QSWaylandLayerSurface::QSWaylandLayerSurface(
this->ext = LayershellWindowExtension::get(qwindow);
if (this->ext == nullptr) {
throw "QSWaylandLayerSurface created with null LayershellWindowExtension";
qFatal() << "QSWaylandLayerSurface created with null LayershellWindowExtension";
}
wl_output* output = nullptr; // NOLINT (include)