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
5d686fff
Commit
5d686fff
authored
Dec 04, 2013
by
-f
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed path issue
parent
0e2424a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
11 deletions
+2
-11
UBApplication.cpp
src/core/UBApplication.cpp
+1
-3
UBSettings.cpp
src/core/UBSettings.cpp
+1
-7
UBSettings.h
src/core/UBSettings.h
+0
-1
No files found.
src/core/UBApplication.cpp
View file @
5d686fff
...
...
@@ -120,9 +120,7 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
staticMemoryCleaner
=
new
QObject
(
0
);
// deleted in UBApplication destructor
setOrganizationName
(
UBSettings
::
organizationName
());
qDebug
()
<<
"organization name"
<<
organizationName
();
qDebug
()
<<
"application"
<<
this
;
setOrganizationName
(
"Open Education Foundation"
);
setOrganizationDomain
(
"oe-f.org"
);
setApplicationName
(
"OpenBoard"
);
...
...
src/core/UBSettings.cpp
View file @
5d686fff
...
...
@@ -787,7 +787,7 @@ QString UBSettings::userDataDirectory()
}
dataDirPath
=
UBFileSystemUtils
::
normalizeFilePath
(
QDesktopServices
::
storageLocation
(
QDesktopServices
::
DataLocation
));
dataDirPath
.
replace
(
UBSettings
::
organizationName
()
+
"/"
,
"OpenBoard
"
);
dataDirPath
.
replace
(
qApp
->
organizationName
()
+
"/"
,
"
"
);
}
return
dataDirPath
;
}
...
...
@@ -881,12 +881,6 @@ QString UBSettings::userPodcastRecordingDirectory()
return
dirPath
;
}
QString
UBSettings
::
organizationName
()
{
return
"Open Education Foundation"
;
}
QString
UBSettings
::
userDocumentDirectory
()
{
static
QString
documentDirectory
=
""
;
...
...
src/core/UBSettings.h
View file @
5d686fff
...
...
@@ -137,7 +137,6 @@ class UBSettings : public QObject
static
QString
userInteractiveDirectory
();
static
QString
userInteractiveFavoritesDirectory
();
static
QString
userPodcastRecordingDirectory
();
static
QString
organizationName
();
QString
userGipLibraryDirectory
();
...
...
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