Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
patch-r895748.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-r895748.diff of Package kdelibs4
Subject: Fixes crash in Qt applications using phonon and a file dialog From: wstephenson@suse.de Bug: Patch-upstream: 895748 --- kio/kfile/kfiledialog.cpp (revision 895747) +++ kio/kfile/kfiledialog.cpp (revision 895748) @@ -927,6 +927,17 @@ public: qt_filedialog_save_filename_hook=&getSaveFileName; } + ~KFileDialogQtOverride() { + if(qt_filedialog_existing_directory_hook == &getExistingDirectory) + qt_filedialog_existing_directory_hook = 0; + if(qt_filedialog_open_filename_hook == &getOpenFileName) + qt_filedialog_open_filename_hook = 0; + if(qt_filedialog_open_filenames_hook == &getOpenFileNames) + qt_filedialog_open_filenames_hook=0; + if(qt_filedialog_save_filename_hook == &getSaveFileName) + qt_filedialog_save_filename_hook=0; + } + /* * Map a Qt filter string into a KDE one. */ Index: kio/kfile/kfiledialog.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor