Add FIXME for QTime.

This commit is contained in:
Florian Bruhin 2014-06-22 23:33:43 +02:00
parent 4bd8a596f1
commit 231aa6f9b8

View File

@ -261,6 +261,7 @@ class StatusBar(QWidget):
queue: If set, message gets queued rather than being displayed
immediately.
"""
# FIXME probably using a QTime here would be easier.
logger.debug("Displaying text: {} (error={})".format(text, error))
now = datetime.now()
mindelta = config.get('ui', 'message-timeout')