diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index e8ad51c4..afc8ec53 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -22,8 +22,6 @@ const QString UBFeaturesController::virtualRootName = "root"; - - void UBFeaturesComputingThread::scanFS(const QUrl & currentPath, const QString & currVirtualPath) { Q_ASSERT(QFileInfo(currentPath.toLocalFile()).exists()); diff --git a/src/gui/UBFeaturesWidget.cpp b/src/gui/UBFeaturesWidget.cpp index 6d007f48..a8818582 100644 --- a/src/gui/UBFeaturesWidget.cpp +++ b/src/gui/UBFeaturesWidget.cpp @@ -604,8 +604,6 @@ void UBFeaturesCentralWidget::increaseStatusBarValue() UBFeaturesNewFolderDialog::UBFeaturesNewFolderDialog(QWidget *parent) : QWidget(parent) { -// SET_STYLE_SHEET() - this->setStyleSheet("background:white;"); QVBoxLayout *mainLayout = new QVBoxLayout(); @@ -616,7 +614,7 @@ UBFeaturesNewFolderDialog::UBFeaturesNewFolderDialog(QWidget *parent) : QWidget( QLabel *mLabel = new QLabel(labelText, this); mLineEdit = new QLineEdit(this); - mValidator = new QRegExpValidator(QRegExp("[\^\/\:\?\*\|\<\>\"]{2,}"), this); + mValidator = new QRegExpValidator(QRegExp("[^\\/\\:\\?\\*\\|\\<\\>\\\"]{2,}"), this); mLineEdit->setValidator(mValidator); labelLayout->addWidget(mLabel); labelLayout->addWidget(mLineEdit);