Gui: Use std::numeric_limits and std::numbers instead of defines
This commit is contained in:
@@ -409,7 +409,7 @@ void ShortcutManager::onTimer()
|
||||
timer.stop();
|
||||
|
||||
QAction *found = nullptr;
|
||||
int priority = -INT_MAX;
|
||||
int priority = -std::numeric_limits<int>::max();
|
||||
int seq_length = 0;
|
||||
for (const auto &info : pendingActions) {
|
||||
if (info.action) {
|
||||
|
||||
Reference in New Issue
Block a user