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

Commit b156647

Browse files
committedMay 4, 2018
Disable the IPFS option in the update manager GUI.
1 parent 87c0cba commit b156647

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src-qt5/gui_client/pages/page_updates.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ void updates_page::ParseReply(QString id, QString namesp, QString name, QJsonVal
189189
if(obj.contains("cdn_type")){ cdn= obj.value("cdn_type").toString().toUpper(); }
190190
if(cdn=="IPFS"){ ui->radio_type_ipfs->setChecked(true); }
191191
else{ ui->radio_type_traditional->setChecked(true); }
192+
ui->radio_type_ipfs->setEnabled(false);
193+
//IPFS SERVERS DISABLED (5/3/18) - switch back to traditional
194+
if(cdn=="IPFS"){ QTimer::singleShot(0, ui->radio_type_traditional, SLOT(toggle()) ); }
195+
192196
//Repository Setting
193197
QString repo = "STABLE";
194198
if(obj.contains("package_set")){ repo = obj.value("package_set").toString().toUpper(); }

0 commit comments

Comments
 (0)
This repository has been archived.