+2003-01-04 Juergen Spitzmueller <j.spitzmueller@gmx.de>
+
+ * QURL.C: isValid(): fix validation.
+
+2002-12-21 John Levon <levon@movementarian.org>
+
+ * FileDialog.C:
+ * QBibtex.C: fix mis-use of conversions to QString
+
2003-01-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* QCitationDialog.C: update dialog correctly on search.
#include "FileDialog_private.h"
#include "debug.h"
#include "qt_helpers.h"
+#include "gettext.h"
#include <qapplication.h>
{
string filter(mask);
if (mask.empty())
- filter = qt_("All files (*)");
+ filter = _("All files (*)");
LyXFileDialog dlg(path, filter, title_, private_->b1, private_->b2);
lyxerr[Debug::GUI] << "Select with path \"" << path
{
string filter(mask);
if (mask.empty())
- filter = qt_("*|All files");
+ filter = _("*|All files");
LyXFileDialog dlg(path, filter, title_, private_->b1, private_->b2);
lyxerr[Debug::GUI] << "Select with path \"" << path
}
string bibtotoc = "bibtotoc";
- string bibstyle(toqstr(controller().params().getOptions()));
+ string bibstyle(controller().params().getOptions());
// bibtotoc exists?
if (prefixIs(bibstyle, bibtotoc)) {
string const u(fromqstr(dialog_->urlED->text()));
string const n(fromqstr(dialog_->nameED->text()));
- return !u.empty() && !n.empty();
+ return !u.empty() || !n.empty();
}