Commit affac939 authored by Heiko Becker's avatar Heiko Becker
Browse files

Merge remote-tracking branch 'origin/release/20.04'

parents a5cbbd78 4fecfa1a
......@@ -81,11 +81,7 @@ NetworkDialog::NetworkDialog(bool client, QWidget* parent, const QUrl* url)
tmpLayout = new QHBoxLayout;
tmpLayout->addWidget(tmp);
tmpLayout->addWidget(m_games, 1);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(m_games, static_cast<void (KComboBox::*)(int)>(&KComboBox::currentIndexChanged), this, &NetworkDialog::serviceSelected);
#else
connect(m_games, static_cast<void (KComboBox::*)(int, const QString &)>(&KComboBox::currentIndexChanged) , this, &NetworkDialog::serviceSelected);
#endif
mainLayout->addItem(tmpLayout);
QWidget* frame=new QWidget(main);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment