mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
remove QRCode import GUI
This commit is contained in:
parent
e6239a3207
commit
a09f2aee0a
@ -1 +1 @@
|
|||||||
6137
|
6138
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#define QVFEATURE_kernel_set_permission 1
|
#define QVFEATURE_kernel_set_permission 1
|
||||||
|
|
||||||
// UI Options
|
// UI Options
|
||||||
#define QVFEATURE_ui_has_import_qrcode 1
|
#define QVFEATURE_ui_has_import_qrcode -1
|
||||||
#define QVFEATURE_ui_has_store_state 1
|
#define QVFEATURE_ui_has_store_state 1
|
||||||
|
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
@ -40,6 +40,7 @@ ImportConfigWindow::ImportConfigWindow(QWidget *parent) : QvDialog("ImportWindow
|
|||||||
groupCombo->setCurrentIndex(defaultItemIndex);
|
groupCombo->setCurrentIndex(defaultItemIndex);
|
||||||
#if !QV2RAY_FEATURE(ui_has_import_qrcode)
|
#if !QV2RAY_FEATURE(ui_has_import_qrcode)
|
||||||
qrCodeTab->setVisible(false);
|
qrCodeTab->setVisible(false);
|
||||||
|
tabWidget->removeTab(1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user