Clean Properly

This commit is contained in:
Hiro Protagonist 2017-03-26 17:20:31 +13:00
parent 9352c2adda
commit f6e9f6d220

View file

@ -41,7 +41,7 @@ void Recorder::newRecording( QString r_name ) {
} }
// Clean r_name // TODO: Maybe Visual Feedback for that... // Clean r_name // TODO: Maybe Visual Feedback for that...
r_name.remove(QRegExp(QString::fromUtf8("[-`~!@#$%^&*()_—+=|:;<>«»,.?/{}\'\"\\\[\\]]"))); r_name.replace(QRegExp("[^\da-zA-Z\_]"), "_");
recName = r_name; recName = r_name;
// Verify Recdir... create directories... // Verify Recdir... create directories...