From: Jean-Baptiste Kempf Date: Sun, 24 Aug 2008 18:30:43 +0000 (-0700) Subject: Open Dialog: Close #1912 X-Git-Tag: 0.9.0~11 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2ee008ab49803a60b5983c6c051186b83931b8e1;p=vlc Open Dialog: Close #1912 --- 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