Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
050e1bfa
Commit
050e1bfa
authored
Apr 03, 2017
by
Martin Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set application name and version for all plattforms to provide version information
parent
e6638ef0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
OpenFlipper.cc
OpenFlipper.cc
+4
-6
No files found.
OpenFlipper.cc
View file @
050e1bfa
...
...
@@ -477,11 +477,10 @@ int main(int argc, char **argv)
QApplication
::
setColorSpec
(
QApplication
::
CustomColor
);
QApplication
app
(
argc
,
argv
);
#ifdef __APPLE__
// Set organization and application names
QCoreApplication
::
setOrganizationName
(
"rwth-aachen.de"
);
QCoreApplication
::
setApplicationName
(
"graphics.openflipper"
);
#endif
QCoreApplication
::
setApplicationName
(
TOSTRING
(
PRODUCT_STRING
)
);
QCoreApplication
::
setApplicationVersion
(
OpenFlipper
::
Options
::
coreVersion
());
if
(
!
QGLFormat
::
hasOpenGL
()
)
{
std
::
cerr
<<
"This system has no OpenGL support.
\n
"
;
...
...
@@ -580,11 +579,10 @@ int main(int argc, char **argv)
QCoreApplication
app
(
argc
,
argv
);
#ifdef __APPLE__
// Set organization and application names
QCoreApplication
::
setOrganizationName
(
"rwth-aachen.de"
);
QCoreApplication
::
setApplicationName
(
"graphics.openflipper"
);
#endif
QCoreApplication
::
setApplicationName
(
TOSTRING
(
PRODUCT_STRING
)
);
QCoreApplication
::
setApplicationVersion
(
OpenFlipper
::
Options
::
coreVersion
());
// create widget ( this also reads the ini files )
Core
*
w
=
new
Core
(
);
...
...
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