New title for main window.
This commit is contained in:
parent
c542d65f61
commit
f20b5223b3
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
||||||
// for testing
|
|
||||||
#include <QMessageBox>
|
|
||||||
#include <QProcess>
|
|
||||||
#include <QCloseEvent>
|
#include <QCloseEvent>
|
||||||
|
|
||||||
#include "gui/formmain.h"
|
#include "gui/formmain.h"
|
||||||
|
|
|
@ -70,6 +70,9 @@ int main(int argc, char *argv[]) {
|
||||||
// Instantiate main application window.
|
// Instantiate main application window.
|
||||||
FormMain window;
|
FormMain window;
|
||||||
|
|
||||||
|
// Set correct information for main window.
|
||||||
|
window.setWindowTitle(QString(APP_NAME) + " " + APP_VERSION);
|
||||||
|
|
||||||
// Display welcome dialog if application is launched for the first time.
|
// Display welcome dialog if application is launched for the first time.
|
||||||
if (Settings::getInstance()->value(APP_CFG_GEN, "first_start", true).toBool()) {
|
if (Settings::getInstance()->value(APP_CFG_GEN, "first_start", true).toBool()) {
|
||||||
Settings::getInstance()->setValue(APP_CFG_GEN, "first_start", false);
|
Settings::getInstance()->setValue(APP_CFG_GEN, "first_start", false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue