blob: e7af41d514808adeedcaee8bb38450d983450c23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2016 Brian McGillion
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "revertdialog.h"
namespace Mercurial {
namespace Internal {
RevertDialog::RevertDialog(QWidget *parent) :
QDialog(parent),
m_ui(new Ui::RevertDialog)
{
m_ui->setupUi(this);
}
RevertDialog::~RevertDialog()
{
delete m_ui;
}
QString RevertDialog::revision() const
{
return m_ui->revisionLineEdit->text();
}
} // namespace Internal
} // namespace Mercurial
|