summaryrefslogtreecommitdiffstats
path: root/src/xsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsession.cpp')
-rw-r--r--src/xsession.cpp5
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"))