mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Version string added
This commit is contained in:
parent
cb4c5e31b1
commit
37d6fb6022
2 changed files with 20 additions and 2 deletions
|
@ -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
18
src/mirall/version.h
Normal 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
|
Loading…
Reference in a new issue