Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
8acb23f7
Commit
8acb23f7
authored
4 years ago
by
Matthias
Browse files
Options
Downloads
Patches
Plain Diff
rm obsolete code
parent
ba6e8674
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/coregui/utils/GUIHelpers.cpp
+0
-13
0 additions, 13 deletions
GUI/coregui/utils/GUIHelpers.cpp
GUI/coregui/utils/GUIHelpers.h
+0
-2
0 additions, 2 deletions
GUI/coregui/utils/GUIHelpers.h
with
0 additions
and
15 deletions
GUI/coregui/utils/GUIHelpers.cpp
+
0
−
13
View file @
8acb23f7
...
...
@@ -183,19 +183,6 @@ QString baseName(const QString& fileName) {
return
info
.
baseName
();
}
//! Creates sub directory in given parent directory (should exist).
//! If sub-directory already exists, no action will be taken.
void
createSubdir
(
const
QString
&
parentName
,
const
QString
&
subdirName
)
{
QDir
projectDir
(
parentName
);
if
(
projectDir
.
exists
())
if
(
!
projectDir
.
exists
(
subdirName
))
if
(
!
projectDir
.
mkdir
(
subdirName
))
throw
GUIHelpers
::
Error
(
"GUIHelpers::createSubdir() -> Error. Can't create '"
+
subdirName
+
"' in parent directory '"
+
parentName
+
"'."
);
}
QString
currentDateTime
()
{
return
QDateTime
::
currentDateTime
().
toString
(
"yyyy.MM.dd hh:mm:ss"
);
;
...
...
This diff is collapsed.
Click to expand it.
GUI/coregui/utils/GUIHelpers.h
+
0
−
2
View file @
8acb23f7
...
...
@@ -57,8 +57,6 @@ QString getValidFileName(const QString& proposed_name);
QString
fileDir
(
const
QString
&
fileName
);
QString
baseName
(
const
QString
&
fileName
);
void
createSubdir
(
const
QString
&
parentName
,
const
QString
&
subdirName
);
bool
parseVersion
(
const
QString
&
version
,
int
&
major_num
,
int
&
minor_num
,
int
&
patch_num
);
int
versionCode
(
const
QString
&
version
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment