Open Dialog: Close #1912
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 18:30:43 +0000 (11:30 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 18:31:39 +0000 (11:31 -0700)
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.hpp

index 41b7551..8c3cd21 100644 (file)
@@ -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()
 {
index e2de731..ee97347 100644 (file)
@@ -110,6 +110,7 @@ public:
         QFileDialog( parent, caption, directory, filter ) {}
 public slots:
     void accept();
+    void reject();
 };
 
 class FileOpenPanel: public OpenPanel