File: 0005-Add-missing-import.patch

package info (click to toggle)
dioptas 0.5.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 101,104 kB
  • sloc: python: 20,184; makefile: 26; sh: 3
file content (21 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <lolando@debian.org>
Date: Mon, 27 Sep 2021 23:58:40 +0200
Subject: Add missing import

---
 dioptas/widgets/plot_widgets/HistogramLUTItem.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dioptas/widgets/plot_widgets/HistogramLUTItem.py b/dioptas/widgets/plot_widgets/HistogramLUTItem.py
index 3241aa9..8e19143 100644
--- a/dioptas/widgets/plot_widgets/HistogramLUTItem.py
+++ b/dioptas/widgets/plot_widgets/HistogramLUTItem.py
@@ -20,7 +20,7 @@
 
 from __future__ import absolute_import
 
-from qtpy import QtWidgets
+from qtpy import QtCore, QtWidgets
 from pyqtgraph.graphicsItems.GraphicsWidget import GraphicsWidget
 from pyqtgraph.graphicsItems.ViewBox import *
 from pyqtgraph.graphicsItems.GradientEditorItem import *