mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-06 16:06:05 +01:00
QMutex -> QRecursiveMutex
This commit is contained in:
parent
4fc0cd0b15
commit
f2b71ed57a
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
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 @@ def __init__(self, parent, db):
|
||||||
|
|
||||||
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…
Reference in a new issue