From 024a0cd78bf1c23bb064b72a8f5838037f010a24 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sat, 26 Apr 2025 18:42:14 -0400 Subject: [PATCH] 2025-04-26 Fred Gleason * Cleaned up compiler warnings in 'utils/rdsinglestart/'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ utils/rdsinglestart/rdsinglestart.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37ef7e64..be1b0ea6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25022,3 +25022,5 @@ * Cleaned up compiler warnings in 'utils/rdimport/'. 2025-04-26 Fred Gleason * Cleaned up compiler warnings in 'utils/rdselect_helper/'. +2025-04-26 Fred Gleason + * Cleaned up compiler warnings in 'utils/rdsinglestart/'. diff --git a/utils/rdsinglestart/rdsinglestart.cpp b/utils/rdsinglestart/rdsinglestart.cpp index 62f1070a..dc4fe73e 100644 --- a/utils/rdsinglestart/rdsinglestart.cpp +++ b/utils/rdsinglestart/rdsinglestart.cpp @@ -2,7 +2,7 @@ // // Start a program so as to allow only a single instance. // -// (C) Copyright 2022 Fred Gleason +// (C) Copyright 2022-2025 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -42,7 +42,7 @@ MainObject::MainObject(QObject *parent) } for(unsigned i=0;i<(cmd->keys()-1);i++) { } - QStringList f0=cmd->key(cmd->keys()-1).split("/",QString::SkipEmptyParts); + QStringList f0=cmd->key(cmd->keys()-1).split("/",Qt::SkipEmptyParts); QString program=f0.last().trimmed(); // @@ -70,9 +70,9 @@ MainObject::MainObject(QObject *parent) } bool found=false; f0=QString::fromUtf8(proc->readAllStandardOutput()). - split("\n",QString::SkipEmptyParts); + split("\n",Qt::SkipEmptyParts); for(int i=0;i=4) { if(f1.at(3).trimmed().toLower()==program) { Raise(f1.at(0));