mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
0037b40751
3 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue