From 72cedc0241d66a3967f7b8258ba6bde1f112a8aa Mon Sep 17 00:00:00 2001 From: Hiro Protagonist Date: Sun, 26 Mar 2017 17:25:48 +1300 Subject: [PATCH] Clean Properly --- src/recorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recorder.cpp b/src/recorder.cpp index 212d98f..a338917 100644 --- a/src/recorder.cpp +++ b/src/recorder.cpp @@ -41,7 +41,7 @@ void Recorder::newRecording( QString r_name ) { } // Clean r_name // TODO: Maybe Visual Feedback for that... - r_name.replace(QRegExp("[^\da-zA-Z\_]"), "_"); + r_name.replace(QRegExp("[^\\da-zA-Z\\_]"), "_"); qDebug() << r_name(); recName = r_name;