2022-08-19 15:59:36 +02:00
|
|
|
// 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
|
2009-11-02 18:50:06 +01:00
|
|
|
|
2009-09-15 13:03:13 +03:00
|
|
|
#include "revertdialog.h"
|
|
|
|
|
|
2014-11-04 22:12:40 +02:00
|
|
|
namespace Mercurial {
|
|
|
|
|
namespace Internal {
|
2009-09-15 13:03:13 +03:00
|
|
|
|
|
|
|
|
RevertDialog::RevertDialog(QWidget *parent) :
|
|
|
|
|
QDialog(parent),
|
|
|
|
|
m_ui(new Ui::RevertDialog)
|
|
|
|
|
{
|
|
|
|
|
m_ui->setupUi(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RevertDialog::~RevertDialog()
|
|
|
|
|
{
|
|
|
|
|
delete m_ui;
|
|
|
|
|
}
|
|
|
|
|
|
2009-11-03 14:21:48 +01:00
|
|
|
QString RevertDialog::revision() const
|
|
|
|
|
{
|
|
|
|
|
return m_ui->revisionLineEdit->text();
|
|
|
|
|
}
|
2014-11-04 22:12:40 +02:00
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Mercurial
|