From 0039ba9ecf6958041268e081687fd44ce7a8cf00 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 25 Apr 2011 16:34:35 +0200 Subject: [PATCH] GUI: connected 2 forgetten signals: preview parent and save to file from the restable detail area --- src/qtgui/rclmain_w.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index a89cb6ad..568d0237 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -274,8 +274,12 @@ void RclMain::init() this, SLOT(docExpand(Rcl::Doc))); connect(restable, SIGNAL(docEditClicked(Rcl::Doc)), this, SLOT(startNativeViewer(Rcl::Doc))); + connect(restable, SIGNAL(previewRequested(Rcl::Doc)), + this, SLOT(startPreview(Rcl::Doc))); connect(restable, SIGNAL(editRequested(Rcl::Doc)), this, SLOT(startNativeViewer(Rcl::Doc))); + connect(restable, SIGNAL(docSaveToFileClicked(Rcl::Doc)), + this, SLOT(saveDocToFile(Rcl::Doc))); connect(this, SIGNAL(docSourceChanged(RefCntr)), reslist, SLOT(setDocSource(RefCntr)));