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

@@ -39,9 +39,6 @@ class Windows7ThumbBar : public QObject {
// Creates a list of buttons in the taskbar icon for this window.
explicit Windows7ThumbBar(QWidget *widget = nullptr);
static const int kIconSize;
static const int kMaxButtonCount;
// You must call this in the parent widget's constructor before returning to the event loop. If an action is nullptr it becomes a spacer.
void SetActions(const QList<QAction*> &actions);