Commit 997785e0 authored by JanKusanagi's avatar JanKusanagi

Log platform name and OS name

parent d5197acf
......@@ -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");
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment