Commit 5cefe1db authored by Tobias Hunger's avatar Tobias Hunger

VcsConfigurationPage: De-noise only change

Change-Id: I0144e9339e7dfd58b1827071e5057941ffdf17f9
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 36ff7e4a
...@@ -41,19 +41,21 @@ ...@@ -41,19 +41,21 @@
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QWizardPage> #include <QWizardPage>
using namespace Core;
namespace VcsBase { namespace VcsBase {
namespace Internal { namespace Internal {
class VcsConfigurationPagePrivate class VcsConfigurationPagePrivate
{ {
public: public:
const Core::IVersionControl *m_versionControl; const IVersionControl *m_versionControl;
QPushButton *m_configureButton; QPushButton *m_configureButton;
}; };
} // namespace Internal } // namespace Internal
VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWidget *parent) : VcsConfigurationPage::VcsConfigurationPage(const IVersionControl *vc, QWidget *parent) :
QWizardPage(parent), QWizardPage(parent),
d(new Internal::VcsConfigurationPagePrivate) d(new Internal::VcsConfigurationPagePrivate)
{ {
...@@ -62,7 +64,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid ...@@ -62,7 +64,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
setSubTitle(tr("Please configure <b>%1</b> now.").arg(vc->displayName())); setSubTitle(tr("Please configure <b>%1</b> now.").arg(vc->displayName()));
d->m_versionControl = vc; d->m_versionControl = vc;
d->m_configureButton = new QPushButton(Core::ICore::msgShowOptionsDialog(), this); d->m_configureButton = new QPushButton(ICore::msgShowOptionsDialog(), this);
QVBoxLayout *verticalLayout = new QVBoxLayout(this); QVBoxLayout *verticalLayout = new QVBoxLayout(this);
verticalLayout->addWidget(d->m_configureButton); verticalLayout->addWidget(d->m_configureButton);
...@@ -83,9 +85,7 @@ bool VcsConfigurationPage::isComplete() const ...@@ -83,9 +85,7 @@ bool VcsConfigurationPage::isComplete() const
void VcsConfigurationPage::openConfiguration() void VcsConfigurationPage::openConfiguration()
{ {
Core::ICore::showOptionsDialog(Constants::VCS_SETTINGS_CATEGORY, ICore::showOptionsDialog(Constants::VCS_SETTINGS_CATEGORY, d->m_versionControl->id(), this);
d->m_versionControl->id(),
this);
} }
} // namespace VcsBase } // namespace VcsBase
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment