fix Qt6 broken build
This commit is contained in:
@@ -1100,7 +1100,9 @@ struct window_procs Qt_procs = {
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
extern "C" void play_usersound(const char *, int);
|
extern "C" void play_usersound(const char *, int);
|
||||||
|
|
||||||
|
#if QT_VERSION < 0x060000
|
||||||
QSoundEffect *effect = NULL;
|
QSoundEffect *effect = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* called from core, sounds.c */
|
/* called from core, sounds.c */
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user