change the comment
This commit is contained in:
parent
3dc0416d39
commit
c6049c1f73
@ -1,6 +1,22 @@
|
||||
# Copyright: Damien Elmes <anki@ichi2.net>
|
||||
# -*- coding: utf-8 -*-
|
||||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
#-*- coding:utf-8 -*-
|
||||
#
|
||||
# Copyright © 2016–2017 ST.Huang <wenhonghuang@gmail.com>
|
||||
#
|
||||
# Support: Report an issue at https://github.com/sth2018/FastWordQuery/issues
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# any later version; http://www.gnu.org/copyleft/gpl.html.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
import time
|
||||
from collections import defaultdict
|
||||
@ -9,14 +25,6 @@ from aqt.qt import *
|
||||
from .lang import _
|
||||
|
||||
|
||||
# fixme: if mw->subwindow opens a progress dialog with mw as the parent, mw
|
||||
# gets raised on finish on compiz. perhaps we should be using the progress
|
||||
# dialog as the parent?
|
||||
|
||||
# Progress info
|
||||
##########################################################################
|
||||
|
||||
|
||||
class ProgressWindow(object):
|
||||
"""
|
||||
Query progress window
|
||||
@ -27,8 +35,6 @@ class ProgressWindow(object):
|
||||
self.app = QApplication.instance()
|
||||
self._win = None
|
||||
self._msg_count = defaultdict(int)
|
||||
# Creating progress dialogs
|
||||
##########################################################################
|
||||
|
||||
def update_labels(self, data):
|
||||
if self.abort():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user