Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
42c008c1
Commit
42c008c1
authored
May 05, 2021
by
Wolfgang Rohdewald
Browse files
MainWindow: avoid comparing None with float
parent
3466e3d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.py
View file @
42c008c1
...
...
@@ -470,7 +470,7 @@ class MainWindow(KXmlGuiWindow):
if
mainWindow
:
if
Debug
.
quit
:
logDebug
(
'aboutToQuit starting'
)
if
mainWindow
.
exitWaitTime
>
1000.0
or
Debug
.
quit
:
if
mainWindow
.
exitWaitTime
is
not
None
and
mainWindow
.
exitWaitTime
>
1000.0
or
Debug
.
quit
:
logDebug
(
'reactor stopped after %d ms'
%
(
mainWindow
.
exitWaitTime
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment