Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mobile Datovka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Datovka projects
mobile Datovka
Commits
a5328257
Commit
a5328257
authored
Nov 22, 2018
by
Karel Slaný
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixed-rec-mng-settings' into 'develop'
Fixed load of records management settings See merge request
!136
parents
f7fd19bc
b64ca298
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
src/main.cpp
src/main.cpp
+9
-8
No files found.
src/main.cpp
View file @
a5328257
...
...
@@ -326,6 +326,15 @@ int main(int argc, char *argv[])
return
EXIT_FAILURE
;
}
/* Create and init global records management settings. */
GlobInstcs
::
recMgmtSetPtr
=
new
(
std
::
nothrow
)
RecordsManagementSettings
;
if
(
GlobInstcs
::
recMgmtSetPtr
==
Q_NULLPTR
)
{
logErrorNL
(
"%s"
,
"Cannot create records management settings."
);
return
EXIT_FAILURE
;
}
/* Load application settings from storage. */
QSettings
settings
(
Settings
::
settingsPath
(),
QSettings
::
IniFormat
);
...
...
@@ -379,14 +388,6 @@ int main(int argc, char *argv[])
return
EXIT_FAILURE
;
}
GlobInstcs
::
recMgmtSetPtr
=
new
(
std
::
nothrow
)
RecordsManagementSettings
;
if
(
GlobInstcs
::
recMgmtSetPtr
==
Q_NULLPTR
)
{
logErrorNL
(
"%s"
,
"Cannot create records management settings."
);
return
EXIT_FAILURE
;
}
GlobInstcs
::
recMgmtDbPtr
=
new
(
std
::
nothrow
)
RecordsManagementDb
(
"recordsManagementDb"
,
false
);
if
(
GlobInstcs
::
recMgmtDbPtr
==
Q_NULLPTR
)
{
...
...
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