mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kwin: compiler warnings fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ddb7958093
commit
ec58bdac02
2 changed files with 2 additions and 0 deletions
|
@ -1865,6 +1865,7 @@ EffectWindow* PresentWindowsEffect::relativeWindow(EffectWindow *w, int xdiff, i
|
|||
|
||||
// Should never get here
|
||||
kFatal() << "Something strange happened";
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
EffectWindow* PresentWindowsEffect::findFirstWindow() const
|
||||
|
|
|
@ -314,6 +314,7 @@ QRect Workspace::clientArea(clientAreaOption opt, int screen, int desktop) const
|
|||
return QRect(0, 0, displayWidth(), displayHeight());
|
||||
}
|
||||
kFatal() << "Something strange happened";
|
||||
return QRect();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue