New title for main window.

This commit is contained in:
Martin Rotter 2013-06-25 17:37:51 +02:00
parent c542d65f61
commit f20b5223b3
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,3 @@
// for testing
#include <QMessageBox>
#include <QProcess>
#include <QCloseEvent>
#include "gui/formmain.h"

View File

@ -70,6 +70,9 @@ int main(int argc, char *argv[]) {
// Instantiate main application 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.
if (Settings::getInstance()->value(APP_CFG_GEN, "first_start", true).toBool()) {
Settings::getInstance()->setValue(APP_CFG_GEN, "first_start", false);