From 2ee008ab49803a60b5983c6c051186b83931b8e1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 24 Aug 2008 11:30:43 -0700 Subject: [PATCH] Open Dialog: Close #1912 --- modules/gui/qt4/components/open_panels.cpp | 3 +++ modules/gui/qt4/components/open_panels.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 41b7551aa8..8c3cd215e7 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -194,6 +194,9 @@ void FileOpenBox::accept() OpenDialog::getInstance( NULL, NULL, true )->selectSlots(); } +void FileOpenBox::reject() +{} + /* Function called by Open Dialog when clicked on cancel */ void FileOpenPanel::clear() { diff --git a/modules/gui/qt4/components/open_panels.hpp b/modules/gui/qt4/components/open_panels.hpp index e2de731df1..ee973472bc 100644 --- a/modules/gui/qt4/components/open_panels.hpp +++ b/modules/gui/qt4/components/open_panels.hpp @@ -110,6 +110,7 @@ public: QFileDialog( parent, caption, directory, filter ) {} public slots: void accept(); + void reject(); }; class FileOpenPanel: public OpenPanel -- 2.39.2