fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)

bye bye nuuls
This commit is contained in:
nerix
2024-08-03 12:00:58 +02:00
committed by GitHub
parent 5ee5abf5b2
commit aed55ac1ba
83 changed files with 386 additions and 380 deletions
+3 -3
View File
@@ -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*/)