diff options
author | David Skoland <david.skoland@qt.io> | 2021-10-26 13:48:20 +0200 |
---|---|---|
committer | David Skoland <david.skoland@qt.io> | 2021-10-26 13:59:59 +0200 |
commit | 25e85ec45fe5ca00c90fab4ab764f46117fbcb24 (patch) | |
tree | 0d82783e42e654b6af2f846dc94104a1cd4ca22c /src/gui/kernel/qwindow.cpp | |
parent | cdf8fd5e86f253680f61289ee6edaa0c4e54b267 (diff) | |
download | qtbase-25e85ec45fe5ca00c90fab4ab764f46117fbcb24.tar.gz |
Remove unused statements in QWindow
Change-Id: I91f0d23d22923f7c2b8c9099371288d226d541c6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 631b1fe723..70d7730d81 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -247,7 +247,6 @@ void QWindowPrivate::init(QScreen *targetScreen) // before the screen list is populated. if (Q_UNLIKELY(!parentWindow && !topLevelScreen)) { qFatal("Cannot create window: no screens available"); - exit(1); } QGuiApplicationPrivate::window_list.prepend(q); @@ -332,7 +331,6 @@ void QWindow::setVisibility(Visibility v) break; default: Q_ASSERT(false); - break; } } |