Version string added

This commit is contained in:
Klaas Freitag 2011-11-24 16:38:12 +01:00
parent cb4c5e31b1
commit 37d6fb6022
2 changed files with 20 additions and 2 deletions

View file

@ -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();

18
src/mirall/version.h Normal file
View file

@ -0,0 +1,18 @@
/*
* Copyright (C) by Klaas Freitag <freitag@kde.org>
*
* 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