diff options
author | Jonathan Bauer | 2018-06-27 10:44:38 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-06-27 10:44:38 +0200 |
commit | f66f73e6ac1ad39895dd29f408edaca1bcb03d81 (patch) | |
tree | c2bc5dfe6d2f05d73758b47226b41e650d661c83 /src | |
parent | fix indentation (diff) | |
download | vmchooser2-f66f73e6ac1ad39895dd29f408edaca1bcb03d81.tar.gz vmchooser2-f66f73e6ac1ad39895dd29f408edaca1bcb03d81.tar.xz vmchooser2-f66f73e6ac1ad39895dd29f408edaca1bcb03d81.zip |
keep 0 as default priority
use < 0 priorities in config file to bump them
Diffstat (limited to 'src')
-rw-r--r-- | src/xsession.cpp | 5 |
1 files changed, 0 insertions, 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")) |