From 5977545ee639820724be035670e8363cd2eb210a Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 25 Mar 2014 22:17:02 +0100 Subject: [PATCH] Fix invalid escape sequence --- kcmkwin/kwinrules/ruleswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index 179a159c95..ba3de60b63 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -56,7 +56,7 @@ RulesWidget::RulesWidget(QWidget* parent) { Q_UNUSED(parent); setupUi(this); - QRegularExpressionValidator* validator = new QRegularExpressionValidator(QRegularExpression("[0-9\-+,xX:]*"), this); + QRegularExpressionValidator* validator = new QRegularExpressionValidator(QRegularExpression("[0-9\\-+,xX:]*"), this); maxsize->setValidator(validator); minsize->setValidator(validator); position->setValidator(validator);