Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Dianara
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Dianara Developers
Dianara
Commits
997785e0
Commit
997785e0
authored
Dec 20, 2017
by
JanKusanagi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log platform name and OS name
parent
d5197acf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
main.cpp
src/main.cpp
+1
-1
mainwindow.cpp
src/mainwindow.cpp
+6
-2
No files found.
src/main.cpp
View file @
997785e0
...
...
@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
{
QApplication
dianaraApp
(
argc
,
argv
);
dianaraApp
.
setApplicationName
(
"Dianara"
);
dianaraApp
.
setApplicationVersion
(
"1.4.1-beta+
2
"
);
dianaraApp
.
setApplicationVersion
(
"1.4.1-beta+
3
"
);
dianaraApp
.
setOrganizationName
(
"JanCoding"
);
dianaraApp
.
setOrganizationDomain
(
"jancoding.wordpress.com"
);
...
...
src/mainwindow.cpp
View file @
997785e0
...
...
@@ -762,7 +762,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
initializationComplete
=
false
;
logViewer
->
addToLog
(
tr
(
"Dianara started."
));
logViewer
->
addToLog
(
tr
(
"Running with Qt v%1."
).
arg
(
qVersion
()));
logViewer
->
addToLog
(
tr
(
"Running with Qt v%1."
).
arg
(
qVersion
()
+
QStringLiteral
(
" ("
)
+
qApp
->
platformName
()
+
QStringLiteral
(
")"
))
+
" "
+
QSysInfo
::
prettyProductName
()
+
"."
);
this
->
statusAccountButtonUsed
=
false
;
...
...
@@ -777,7 +781,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
}
else
// Otherwise, just say so in the statusbar and offer a button there
{
QString
message
=
tr
(
"Your account is not configured yet."
);
const
QString
message
=
tr
(
"Your account is not configured yet."
);
this
->
setStatusBarMessage
(
message
);
logViewer
->
addToLog
(
message
);
...
...
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