Subsonic: Make HTTP/2 setting visible with Qt 5.15.0 and higher
This commit is contained in:
@@ -58,7 +58,9 @@ SubsonicSettingsPage::SubsonicSettingsPage(SettingsDialog *dialog, QWidget *pare
|
||||
|
||||
dialog->installEventFilter(this);
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
ui_->checkbox_http2->show();
|
||||
#else
|
||||
ui_->checkbox_http2->hide();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user