remove QRCode import GUI

This commit is contained in:
QxQ 2021-02-05 10:09:54 +08:00
parent e6239a3207
commit a09f2aee0a
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
6137
6138

View File

@ -11,7 +11,7 @@
#define QVFEATURE_kernel_set_permission 1
// UI Options
#define QVFEATURE_ui_has_import_qrcode 1
#define QVFEATURE_ui_has_import_qrcode -1
#define QVFEATURE_ui_has_store_state 1
// clang-format on

View File

@ -40,6 +40,7 @@ ImportConfigWindow::ImportConfigWindow(QWidget *parent) : QvDialog("ImportWindow
groupCombo->setCurrentIndex(defaultItemIndex);
#if !QV2RAY_FEATURE(ui_has_import_qrcode)
qrCodeTab->setVisible(false);
tabWidget->removeTab(1);
#endif
}