From 0afe9ca6bf53da111e445d2aea7cfc94e7e3c601 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 9 Aug 2020 17:12:14 +0200 Subject: db backend: mostly feature-complete --- tagview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tagview.cpp') diff --git a/tagview.cpp b/tagview.cpp index abaefcb..b4e83dd 100644 --- a/tagview.cpp +++ b/tagview.cpp @@ -5,11 +5,13 @@ #include 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); -- cgit