]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFiledialog.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormFiledialog.C
index 0e9120de3eebb1a2cc0da3cadefeee22d678dfbb..a8fe2ec9c97c18af138b4cae80a1cd420af7ca8d 100644 (file)
@@ -188,8 +188,11 @@ void FileDialog::Private::Reread()
        // Opens directory
        DIR * dir = ::opendir(directory_.c_str());
        if (!dir) {
+// FIXME: re-add ...
+#if 0
                Alert::err_alert(_("Warning! Couldn't open directory."),
                        directory_);
+#endif
                directory_ = lyx::getcwd();
                dir = ::opendir(directory_.c_str());
        }
@@ -357,7 +360,10 @@ void FileDialog::Private::SetDirectory(string const & path)
        // must check the directory exists
        DIR * dir = ::opendir(tmp.c_str());
        if (!dir) {
+// FIXME: re-add ...
+#if 0
                Alert::err_alert(_("Warning! Couldn't open directory."), tmp);
+#endif
        } else {
                ::closedir(dir);
                directory_ = tmp;