Merge with develop

--HG--
branch : compatibility-develop
This commit is contained in:
kervala 2016-09-19 14:52:47 +02:00
commit 0037b40751
3 changed files with 8 additions and 3 deletions

View file

@ -19,6 +19,8 @@
#include "ui_tile_edit_qt.h" #include "ui_tile_edit_qt.h"
#include <QtCore/QtCore>
class QCheckBox; class QCheckBox;
class QPushButton; class QPushButton;
class QLineEdit; class QLineEdit;

View file

@ -1,6 +1,9 @@
#ifndef TILESMODEL_H #ifndef TILESMODEL_H
#define TILESMODEL_H #define TILESMODEL_H
#include <QtCore/QtCore>
#include <QtGui/QtGui>
class TileModel class TileModel
{ {

View file

@ -793,14 +793,14 @@ void COperationDialog::uninstallOldClient()
if (button == QMessageBox::Yes) if (button == QMessageBox::Yes)
{ {
// to not ask twice
CConfigFile::getInstance()->setUninstallingOldClient(true);
// remember the choice // remember the choice
CConfigFile::getInstance()->setShouldUninstallOldClient(true); CConfigFile::getInstance()->setShouldUninstallOldClient(true);
// launch old uninstaller // launch old uninstaller
QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller)); QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller));
// to not ask twice
CConfigFile::getInstance()->setUninstallingOldClient(true);
} }
else else
{ {