qtadb/qtadb-0.8.1.20160727git-disable_updates_check_and_crash.patch

55 lines
2.6 KiB
Diff
Raw Permalink Normal View History

--- qtadb-0.8.1.20160727git/widgets/settingswidget.cpp.orig 2016-07-27 13:48:10.560281318 +0200
+++ qtadb-0.8.1.20160727git/widgets/settingswidget.cpp 2016-07-27 13:48:46.706306638 +0200
@@ -182,7 +182,7 @@
this->showPhoneColumnsHeaders = true;
this->dialogKopiujShowModal = true;
this->killDemonOnExit = false;
- this->checkForUpdatesOnStart = true;
+ this->checkForUpdatesOnStart = false;
this->color = true;
this->colorShellFiles = true;
this->showAppIcon = false;
@@ -395,7 +395,7 @@
this->showPhoneColumnsHeaders = settings->value("showPhoneColumnsHeaders", true).toBool();
this->dialogKopiujShowModal = settings->value("dialogKopiujShowModal", true).toBool();
this->killDemonOnExit = settings->value("killDemonOnExit", false).toBool();
- this->checkForUpdatesOnStart = settings->value("checkForUpdatesOnStart", true).toBool();
+ this->checkForUpdatesOnStart = settings->value("checkForUpdatesOnStart", false).toBool();
this->color = settings->value("color", true).toBool();
this->colorShellFiles = settings->value("colorShellFiles", true).toBool();
this->showAppIcon = settings->value("showAppIcon", false).toBool();
--- qtadb-0.8.1.20160727git/classes/updateapp.cpp 2016-07-27 12:42:19.000000000 +0200
+++ qtadb-0.8.1.20160727git/classes/updateapp.cpp.orig 2016-07-27 14:21:44.729444327 +0200
@@ -73,5 +73,4 @@
void UpdateApp::checkUpdates()
{
- this->reply = this->updateMan->get(QNetworkRequest(QUrl("http://qtadb.com/wordpress/download")));
}
--- qtadb-0.8.1.20160727git/dialogs/appinfo.cpp.orig 2016-07-27 14:28:55.164722945 +0200
+++ qtadb-0.8.1.20160727git/dialogs/appinfo.cpp 2016-07-27 14:29:30.801747304 +0200
@@ -61,7 +61,6 @@
connect(this->ui->pushButton, SIGNAL(clicked()), this, SLOT(install()));
connect(this->ui->pushButton_2, SIGNAL(clicked()), this, SLOT(openMarket()));
- connect(this->updateMan, SIGNAL(finished(QNetworkReply*)), this, SLOT(gotWWW(QNetworkReply*)));
connect(this->ui->pushButton_3, SIGNAL(clicked()), this, SLOT(openMarketPC()));
this->getQR();
@@ -107,7 +106,6 @@
connect(this->ui->pushButton, SIGNAL(clicked()), this, SLOT(install()));
connect(this->ui->pushButton_2, SIGNAL(clicked()), this, SLOT(openMarket()));
- connect(this->updateMan, SIGNAL(finished(QNetworkReply*)), this, SLOT(gotWWW(QNetworkReply*)));
this->getQR();
// ui->pageApps->setLayout(ui->layoutApps);
@@ -118,7 +116,6 @@
if (this->appsDialog != NULL)
delete this->appsDialog;
delete this->app;
- delete this->reply;
delete ui;
}