Use QString::chop to support Qt versions older than 6.5

This commit is contained in:
Magne Sjaastad committed 2026-10-22 08:16:46 +02:00
1 parent c41194e7cb
commit 1d331f6cc1
1 file changed
+1 -1
@@ -217,7 +217,7 @@ QStringList decodeSlurmQueues( QStringList stdOut )
{
if ( firstPart.endsWith( '*' ) )
{
firstPart = firstPart.removeAt( firstPart.length() - 1 );
firstPart.chop( 1 );
}
queues.insert( firstPart );
continue;