mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
core: replace throws with qFatal
This commit is contained in:
parent
055b191a67
commit
9625129844
5 changed files with 4 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ LayershellWindowExtension* LayershellWindowExtension::get(QWindow* window) {
|
|||
|
||||
bool LayershellWindowExtension::attach(QWindow* window) {
|
||||
if (this->surface != nullptr)
|
||||
throw "Cannot change the attached window of a LayershellWindowExtension";
|
||||
qFatal() << "Cannot change the attached window of a LayershellWindowExtension";
|
||||
|
||||
auto* current = LayershellWindowExtension::get(window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue