aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp
diff options
context:
space:
mode:
authorPawel Polanski <pawel.3.polanski@nokia.com>2011-05-11 12:40:22 +0200
committerPawel Polanski <pawel.3.polanski@nokia.com>2011-05-13 12:35:55 +0200
commit346397e61af664f5937869af30b8e1292601b4a5 (patch)
tree14110fa45db88abb401365c8e30a3dbb37e5ccda /src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp
parent0e069763b3e6f8347db954073b687df565ade210 (diff)
Change Cancel->Close text in Publish to Ovi
When build process finishes there is nothing to cancel so why should there be a cancel text Reviewed-by: dt
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp b/src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp
index 3688c9319d..9e305e0bd8 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60publishingresultspageovi.cpp
@@ -57,7 +57,8 @@ S60PublishingResultsPageOvi::~S60PublishingResultsPageOvi()
void S60PublishingResultsPageOvi::initializePage()
{
wizard()->setButtonText(QWizard::FinishButton, tr("Open Containing Folder"));
- connect(m_publisher, SIGNAL(succeeded()), SIGNAL(completeChanged()));
+ connect(m_publisher, SIGNAL(finished()), SIGNAL(completeChanged()));
+ connect(m_publisher, SIGNAL(finished()), SLOT(packageCreationFinished()));
connect(wizard()->button(QWizard::FinishButton), SIGNAL(clicked()), SLOT(openFileLocation()));
m_publisher->buildSis();
}
@@ -67,6 +68,11 @@ bool S60PublishingResultsPageOvi::isComplete() const
return m_publisher->hasSucceeded();
}
+void S60PublishingResultsPageOvi::packageCreationFinished()
+{
+ wizard()->setButtonText(QWizard::CancelButton, tr("Close"));
+}
+
void S60PublishingResultsPageOvi::updateResultsPage(const QString& status, QColor c)
{
QTextCursor cur(ui->resultsTextBrowser->document());