fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <QPainter>
|
||||
|
||||
// number of columns in grid mode
|
||||
#define GRID_NUM_COLS 3
|
||||
|
||||
namespace {
|
||||
|
||||
// number of columns in grid mode
|
||||
constexpr int GRID_NUM_COLS = 3;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
template <typename T>
|
||||
inline constexpr T *tooltipParentFor(T * /*desiredParent*/)
|
||||
|
||||
Reference in New Issue
Block a user