Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Disable the IPFS option in the update manager GUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
beanpole135 committed May 4, 2018
1 parent 87c0cba commit b156647
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src-qt5/gui_client/pages/page_updates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ void updates_page::ParseReply(QString id, QString namesp, QString name, QJsonVal
if(obj.contains("cdn_type")){ cdn= obj.value("cdn_type").toString().toUpper(); }
if(cdn=="IPFS"){ ui->radio_type_ipfs->setChecked(true); }
else{ ui->radio_type_traditional->setChecked(true); }
ui->radio_type_ipfs->setEnabled(false);
//IPFS SERVERS DISABLED (5/3/18) - switch back to traditional
if(cdn=="IPFS"){ QTimer::singleShot(0, ui->radio_type_traditional, SLOT(toggle()) ); }

//Repository Setting
QString repo = "STABLE";
if(obj.contains("package_set")){ repo = obj.value("package_set").toString().toUpper(); }
Expand Down

0 comments on commit b156647

Please sign in to comment.