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
2d4096ff
Commit
2d4096ff
authored
Dec 21, 2017
by
Wolfgang Rohdewald
Browse files
--nogui: no need to cancel animations
parent
7cb64ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.py
View file @
2d4096ff
...
...
@@ -357,7 +357,8 @@ class MainWindow(KXmlGuiWindow):
def
close
(
self
,
unusedResult
=
None
):
"""wrap close() because we call it with a QTimer"""
if
isAlive
(
self
):
ParallelAnimationGroup
.
cancelAll
()
if
Options
.
gui
:
ParallelAnimationGroup
.
cancelAll
()
return
KXmlGuiWindow
.
close
(
self
)
def
closeEvent
(
self
,
event
):
...
...
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