diff options
author | Blaine | 2020-05-15 18:14:17 +0530 |
---|---|---|
committer | Blaine | 2020-05-15 18:14:17 +0530 |
commit | c6a60b1c69daaa819ba52d29c5f5dc8a83023892 (patch) | |
tree | 6f1de91fd398f0dbccbb9ac8d7cc5098c38ba499 /src/main | |
parent | a7ac738d66a385ce1c5b89ca21cb5f69d4b8e801 (diff) | |
download | Chemical-PFD-c6a60b1c69daaa819ba52d29c5f5dc8a83023892.tar.gz Chemical-PFD-c6a60b1c69daaa819ba52d29c5f5dc8a83023892.tar.bz2 Chemical-PFD-c6a60b1c69daaa819ba52d29c5f5dc8a83023892.zip |
minor cleanup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/python/main.py | 1 | ||||
-rw-r--r-- | src/main/python/utils/graphics.py | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py index 54e0711..7d72bae 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -64,7 +64,6 @@ class appWindow(QMainWindow): self.toolbar.toolbuttonClicked.connect(self.toolButtonClicked) self.toolbar.populateToolbar(self.toolbar.toolbarItemList) - def toolButtonClicked(self, object): currentDiagram = self.mdi.currentSubWindow().tabber.currentWidget().painter if currentDiagram: diff --git a/src/main/python/utils/graphics.py b/src/main/python/utils/graphics.py index 48d031b..6b2066f 100644 --- a/src/main/python/utils/graphics.py +++ b/src/main/python/utils/graphics.py @@ -60,8 +60,6 @@ class customView(QGraphicsView): self.scale(self.zoom / temp, self.zoom / temp) class customScene(QGraphicsScene): - # def __init__(self, parent = None): - # super(customScene, self).__init__(parent) def dragEnterEvent(self, e): e.acceptProposedAction() |