summaryrefslogtreecommitdiff
path: root/tagview.cpp
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-08-09 17:12:14 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-08-09 17:12:14 +0200
commit0afe9ca6bf53da111e445d2aea7cfc94e7e3c601 (patch)
treedba69d8eb86e81a1a56a388eafa85817762cf87f /tagview.cpp
parent872bb95acf6fabd639da57cd41a4844d7e6dd0f0 (diff)
downloadnumberator-0afe9ca6bf53da111e445d2aea7cfc94e7e3c601.tar.gz
numberator-0afe9ca6bf53da111e445d2aea7cfc94e7e3c601.tar.bz2
numberator-0afe9ca6bf53da111e445d2aea7cfc94e7e3c601.zip
db backend: mostly feature-complete
Diffstat (limited to 'tagview.cpp')
-rw-r--r--tagview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tagview.cpp b/tagview.cpp
index abaefcb..b4e83dd 100644
--- a/tagview.cpp
+++ b/tagview.cpp
@@ -5,11 +5,13 @@
#include <cmath>
TagView::TagView(SQLiteSaveFile &proj)
- : proj(proj)
+ : scene(proj)
+ , proj(proj)
, saveCenterTimer()
{
setDragMode(QGraphicsView::ScrollHandDrag);
setScene(&scene);
+ connect(&scene, &TagScene::tagDoubleClicked, this, &TagView::tagDoubleClicked);
saveCenterTimer.setSingleShot(true);
saveCenterTimer.setInterval(500);