Use anonymous namespace for constants

This commit is contained in:
Jonas Kvinge
2024-08-07 00:52:58 +02:00
parent c69777ca39
commit 819463a865
67 changed files with 186 additions and 240 deletions

View File

@@ -29,7 +29,9 @@
#include "autoexpandingtreeview.h"
#include "core/mimedata.h"
const int AutoExpandingTreeView::kRowsToShow = 50;
namespace {
constexpr int kRowsToShow = 50;
}
AutoExpandingTreeView::AutoExpandingTreeView(QWidget *parent)
: QTreeView(parent),