[vlc-devel] commit: Open Dialog: Close #1912 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Aug 24 20:28:50 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 11:30:43 2008 -0700| [2ee008ab49803a60b5983c6c051186b83931b8e1] | committer: Jean-Baptiste Kempf
Open Dialog: Close #1912
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ee008ab49803a60b5983c6c051186b83931b8e1
---
modules/gui/qt4/components/open_panels.cpp | 3 +++
modules/gui/qt4/components/open_panels.hpp | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 41b7551..8c3cd21 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 e2de731..ee97347 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
More information about the vlc-devel
mailing list