Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
2b2abcf3
Commit
2b2abcf3
authored
Aug 09, 2012
by
Ilia Ryabokon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regexp fix
parent
394c3d5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
UBFeaturesController.cpp
src/board/UBFeaturesController.cpp
+0
-2
UBFeaturesWidget.cpp
src/gui/UBFeaturesWidget.cpp
+1
-3
No files found.
src/board/UBFeaturesController.cpp
View file @
2b2abcf3
...
...
@@ -22,8 +22,6 @@
const
QString
UBFeaturesController
::
virtualRootName
=
"root"
;
void
UBFeaturesComputingThread
::
scanFS
(
const
QUrl
&
currentPath
,
const
QString
&
currVirtualPath
)
{
Q_ASSERT
(
QFileInfo
(
currentPath
.
toLocalFile
()).
exists
());
...
...
src/gui/UBFeaturesWidget.cpp
View file @
2b2abcf3
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment