diff --git a/src/python/pychm/recollchm/extra.c b/src/python/pychm/recollchm/extra.c index ff999b64..3864d53c 100644 --- a/src/python/pychm/recollchm/extra.c +++ b/src/python/pychm/recollchm/extra.c @@ -599,7 +599,7 @@ chm_get_lcid (struct chmFile *chmfile) { uint32_t lang; int i; - for (i=0; iconnect(m_filtMN, SIGNAL(triggered(QAction *)), this, SLOT(catgFilter(QAction *))); } - connect(m_filtBGRP, SIGNAL(buttonClicked(int)),this, SLOT(catgFilter(int))); + +#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) + connect(m_filtBGRP, SIGNAL(idClicked(int)), this, SLOT(catgFilter(int))); +#else + connect(m_filtBGRP, SIGNAL(buttonClicked(int)), this, SLOT(catgFilter(int))); +#endif connect(m_filtCMB, SIGNAL(activated(int)), this, SLOT(catgFilter(int))); }