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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue