>>>>> "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes:

Stefan> No, it doesn't. USE_NATIVE_FILEDIALOG is not defined in
Stefan> callback.cpp on any platform. Putting an #ifdef around the
Stefan> part is like "#ifdef 0". The right patch is attached.

+bool FileDialog::asksForOverwriteConfirmation()
+{
+#ifdef USE_NATIVE_FILEDIALOG
+       return true;
+#else
+       return false;
+#endif
+}

Are you sure about that? What about windows for example?

QFileDialog has a confirmOverwrite that looks very sweet to me. I can
it can be set or queried, depending on what we want to achieve.

JMarc

Reply via email to