1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-02-02 02:26:44 +01:00

Subsonic: Make HTTP/2 setting visible with Qt 5.15.0 and higher

This commit is contained in:
Jonas Kvinge 2021-09-26 16:49:53 +02:00
parent 92f6a0c6c8
commit c15dfc7c5d

View File

@ -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