From f66f73e6ac1ad39895dd29f408edaca1bcb03d81 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 27 Jun 2018 10:44:38 +0200 Subject: keep 0 as default priority use < 0 priorities in config file to bump them --- src/xsession.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/xsession.cpp b/src/xsession.cpp index 9895470..d2c0ad8 100644 --- a/src/xsession.cpp +++ b/src/xsession.cpp @@ -240,11 +240,6 @@ void XSession::loadXSessionsConfig() { priorityLength = third - second - 1; } int priority = line.mid(second + 1, priorityLength).toInt(); - // if 0, parsing failed, default to high priority to send them to the bottom of the list - if (priority == 0) { - qWarning() << "Failed to parse priority on line" << idx; - priority = 1000; - } QRegularExpression::PatternOptions opts = 0; if (flags.contains("i")) -- cgit v1.2.3-55-g7522