Remove old :wq handler

This commit is contained in:
Florian Bruhin 2017-09-09 11:05:15 +02:00
parent a283a1bb65
commit 1d66aacb36

View File

@ -745,16 +745,6 @@ class Quitter:
# segfaults. # segfaults.
QTimer.singleShot(0, functools.partial(qApp.exit, status)) QTimer.singleShot(0, functools.partial(qApp.exit, status))
@cmdutils.register(instance='quitter', name='wq')
@cmdutils.argument('name', completion=miscmodels.session)
def save_and_quit(self, name=sessions.default):
"""Save open pages and quit.
Args:
name: The name of the session.
"""
self.shutdown(session=name)
class Application(QApplication): class Application(QApplication):