Added Qt dependent macro for Q_FALLTHROUGH

This commit is contained in:
thunder2 2025-07-25 13:53:16 +02:00
parent 32350dfe83
commit c9e8ac4c3c
2 changed files with 5 additions and 0 deletions

View file

@ -36,6 +36,7 @@
#include "gui/common/GroupTreeWidget.h"
#include "util/qtthreadsutils.h"
#include "util/misc.h"
#include "util/RsQtVersion.h"
// class GxsChannelGroupInfoData : public RsUserdata
// {

View file

@ -70,4 +70,8 @@ class QLabel;
extern QPixmap QLabel_pixmap(QLabel* label);
#endif
#if QT_VERSION < QT_VERSION_CHECK (5, 8, 0)
#define Q_FALLTHROUGH() (void)0
#endif
#endif