Allow ':' characters in file names.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9987 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-05-31 19:38:44 +00:00
parent a683500118
commit 6730c51c69
4 changed files with 8 additions and 2611 deletions

View File

@ -1,3 +1,7 @@
2005-05-31 Angus Leeming <leeming@lyx.org>
* validators.C (validate): allow ':' characters in file names.
2005-05-28 Michael Schmitt <michael.schmitt@teststep.org> 2005-05-28 Michael Schmitt <michael.schmitt@teststep.org>
* ui/QIndexDialogBase.ui: remove unused label; remove faulty * ui/QIndexDialogBase.ui: remove unused label; remove faulty

View File

@ -130,7 +130,7 @@ QValidator::State PathValidator::validate(QString & qtext, int &) const
return acceptable_if_empty_ ? return acceptable_if_empty_ ?
QValidator::Acceptable : QValidator::Intermediate; QValidator::Acceptable : QValidator::Intermediate;
string invalid_chars("#$%{}()[]:\"^"); string invalid_chars("#$%{}()[]\"^");
if (!tex_allows_spaces_) if (!tex_allows_spaces_)
invalid_chars += ' '; invalid_chars += ' ';

File diff suppressed because it is too large Load Diff

View File

@ -188,7 +188,7 @@ bool CheckedPath::check() const
return acceptable_if_empty_; return acceptable_if_empty_;
} }
string invalid_chars("#$%{}()[]:\"^"); string invalid_chars("#$%{}()[]\"^");
if (!tex_allows_spaces_) if (!tex_allows_spaces_)
invalid_chars += ' '; invalid_chars += ' ';