diff --git a/src/mirall/statusdialog.cpp b/src/mirall/statusdialog.cpp index 64475af9a..7fc185ffe 100644 --- a/src/mirall/statusdialog.cpp +++ b/src/mirall/statusdialog.cpp @@ -17,7 +17,7 @@ #include "statusdialog.h" #include "folder.h" - +#include "version.h" namespace Mirall { FolderViewDelegate::FolderViewDelegate() @@ -107,7 +107,7 @@ StatusDialog::StatusDialog(QWidget *parent) : QDialog(parent) { setupUi( this ); - setWindowTitle( tr("Mirall Status") ); + setWindowTitle( tr("Mirall %1").arg( VERSION_STRING ) ); _model = new QStandardItemModel(); FolderViewDelegate *delegate = new FolderViewDelegate(); diff --git a/src/mirall/version.h b/src/mirall/version.h new file mode 100644 index 000000000..b34876274 --- /dev/null +++ b/src/mirall/version.h @@ -0,0 +1,18 @@ +/* + * Copyright (C) by Klaas Freitag + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */#ifndef VERSION_H +#define VERSION_H + +#define VERSION_STRING "0.1.1" + +#endif // VERSION_H