aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/filewizardpage.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-05-30 11:38:08 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-06-12 16:10:03 +0200
commitce37f05297f17cadd6d73771d0ceeaa3e73080c3 (patch)
tree7c1a4e9530254046333ddee67138098f95625891 /src/libs/utils/filewizardpage.cpp
parentd0f00cc29d1f53ab6c3378046827d8abaa844cbd (diff)
BaseFileWizard: Get rid of applyExtensionPageShortTitle(...)
That method was used to set a title in the progress view of the wizard that is different from the page title. That is used exactly once and there it adds more confusion than it helps. So get rid of the whole thing. Consistently set the "shortTitle" property instead for all wizards that want to have a separate short title. Change-Id: Ia4881e9c00891058629491f9e9de4ac421c59727 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/utils/filewizardpage.cpp')
-rw-r--r--src/libs/utils/filewizardpage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/utils/filewizardpage.cpp b/src/libs/utils/filewizardpage.cpp
index 2a05ce7544..86e671d9c2 100644
--- a/src/libs/utils/filewizardpage.cpp
+++ b/src/libs/utils/filewizardpage.cpp
@@ -30,6 +30,8 @@
#include "filewizardpage.h"
#include "ui_filewizardpage.h"
+#include "wizard.h"
+
/*!
\class Utils::FileWizardPage
@@ -66,6 +68,8 @@ FileWizardPage::FileWizardPage(QWidget *parent) :
connect(d->m_ui.pathChooser, SIGNAL(returnPressed()), this, SLOT(slotActivated()));
connect(d->m_ui.nameLineEdit, SIGNAL(validReturnPressed()), this, SLOT(slotActivated()));
+
+ setProperty(Utils::SHORT_TITLE_PROPERTY, tr("Location"));
}
FileWizardPage::~FileWizardPage()