mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
QMutex -> QRecursiveMutex
This commit is contained in:
parent
9e9f593877
commit
a8ba150cb8
@ -11,7 +11,7 @@ import calendar, textwrap
|
|||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
from qt.core import (
|
from qt.core import (
|
||||||
QDialog, Qt, QTime, QObject, QMenu, QHBoxLayout, QAction, QIcon, QMutex, QApplication,
|
QDialog, Qt, QTime, QObject, QMenu, QHBoxLayout, QAction, QIcon, QRecursiveMutex, QApplication,
|
||||||
QTimer, pyqtSignal, QWidget, QGridLayout, QCheckBox, QTimeEdit, QLabel,
|
QTimer, pyqtSignal, QWidget, QGridLayout, QCheckBox, QTimeEdit, QLabel,
|
||||||
QLineEdit, QDoubleSpinBox, QSize, QTreeView, QSizePolicy, QToolButton,
|
QLineEdit, QDoubleSpinBox, QSize, QTreeView, QSizePolicy, QToolButton,
|
||||||
QFrame, QVBoxLayout, QTabWidget, QSpacerItem, QGroupBox,
|
QFrame, QVBoxLayout, QTabWidget, QSpacerItem, QGroupBox,
|
||||||
@ -584,7 +584,7 @@ class Scheduler(QObject):
|
|||||||
|
|
||||||
self.recipe_model = RecipeModel()
|
self.recipe_model = RecipeModel()
|
||||||
self.db = db
|
self.db = db
|
||||||
self.lock = QMutex(QMutex.RecursionMode.Recursive)
|
self.lock = QRecursiveMutex()
|
||||||
self.download_queue = set()
|
self.download_queue = set()
|
||||||
|
|
||||||
self.news_menu = QMenu()
|
self.news_menu = QMenu()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user