On my system, the getSaveFileName convenience function in QFileDialog triggers a GTK warning on the console when the name of a non-existent file is entered:
It seems harmless, but I'd like to understand it and prevent it if possible. My system is Qt 4.7.4 and Openbox (no Gnome or KDE) on Ubuntu 11.10. Any ideas?Qt Code:
(my-binary:30000): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/colinb/test.txt': Error stating file '/home/colinb/test.txt': No such file or directoryTo copy to clipboard, switch view to plain text mode
EDIT: It looks like this is probably due to Qt using the "native" file dialog on my system, which is probably the GTK dialog. GTK must have debugging statements turned on.
--Colin
Bookmarks