Fixed issue #805. Invalid regular expression for validation layout output
filename mask. (grafted from eca61caae23937baffec715a2dff88e915dcc302) --HG-- branch : develop
This commit is contained in:
parent
cd1ebf434a
commit
34ffa5ab51
|
@ -87,6 +87,7 @@
|
|||
- [#797] Custom seam allowance ignored in some cases.
|
||||
- [#798] Formula Wizard crashes with translated increments.
|
||||
- [#803] Bug in FancyTabBar widget. Wrongly calculated widget width.
|
||||
- [#805] Invalid regular expression for validation layout output filename mask.
|
||||
|
||||
# Version 0.5.0 May 9, 2017
|
||||
- [#581] User can now filter input lists by keyword in function wizard.
|
||||
|
|
|
@ -41,7 +41,11 @@
|
|||
#include <QRegularExpression>
|
||||
#include <QtDebug>
|
||||
|
||||
const QString baseFilenameRegExp = QStringLiteral("^[\\p{L}\\p{Nd}\\-. _]+$");
|
||||
#ifndef Q_OS_WIN
|
||||
const QString baseFilenameRegExp = QStringLiteral("^[^/]+$");
|
||||
#else
|
||||
const QString baseFilenameRegExp = QStringLiteral("^[^\\:?\"*|/<>]+$");
|
||||
#endif
|
||||
|
||||
bool DialogSaveLayout::havePdf = false;
|
||||
bool DialogSaveLayout::tested = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user