widgets: reset() the progress dialog on construction
commit0e0441f629f1b83ca9830291dd1f0f144d0fa4b8
authorDavid Aguilar <davvid@gmail.com>
Thu, 30 Jun 2016 00:42:39 +0000 (29 17:42 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 30 Jun 2016 00:42:39 +0000 (29 17:42 -0700)
treeddcbca92c4548b38c0d3f2c62e5044a3511b5d77
parent7e0032cb9522c1befc2d93f1db771b5a3788799c
widgets: reset() the progress dialog on construction

PyQt5 has a bug where progress dialogs are shown immediately after
construction.  Call reset() to workaround it.

References: https://bugreports.qt.io/browse/QTBUG-47042
Related-to: #232
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/standard.py