Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-02-12 09:15:33 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:12:10 +0300
commit8cd0f1dac3763776a04e33e8cad5ae897c847272 (patch)
treeef36c427c0ba80990f7c14bb387e13e7acf628d4 /qt/update_dialog.cpp
parenta7b8aaf803167866c20fa2444a37b50b28b2ad38 (diff)
[QT] Fixed crash on Update button click
Diffstat (limited to 'qt/update_dialog.cpp')
-rw-r--r--qt/update_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 7a51c6a8b3..c007c66525 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -53,8 +53,8 @@ namespace qt
{
//m_label = new QLabel(QObject::tr("Version: ") + VERSION_STRING, this);
- QPushButton * m_updateButton = new QPushButton(QObject::tr(CHECK_FOR_UPDATE), this);
- connect(m_updateButton, SIGNAL(clicked(bool)), this, SLOT(OnButtonClick(bool)));
+ m_updateButton = new QPushButton(QObject::tr(CHECK_FOR_UPDATE), this);
+ connect(m_updateButton, SIGNAL(clicked()), this, SLOT(OnUpdateClick()));
m_tree = new QTreeWidget(this);
m_tree->setColumnCount(KNumberOfColumns);
@@ -159,7 +159,7 @@ namespace qt
return item;
}
- void UpdateDialog::OnButtonClick(bool)
+ void UpdateDialog::OnUpdateClick()
{
m_updateButton->setText(QObject::tr("Checking for update..."));
m_updateButton->setDisabled(true);