From f507d55955e84af8db770b6bb568b8c62ff28104 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sat, 26 Apr 2025 18:40:35 -0400 Subject: [PATCH] 2025-04-26 Fred Gleason * Cleaned up compiler warnings in 'utils/rdselect_helper/'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ utils/rdselect_helper/rdselect_helper.cpp | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8299d453..37ef7e64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25020,3 +25020,5 @@ * Cleaned up compiler warnings in 'utils/rdexport/'. 2025-04-26 Fred Gleason * Cleaned up compiler warnings in 'utils/rdimport/'. +2025-04-26 Fred Gleason + * Cleaned up compiler warnings in 'utils/rdselect_helper/'. diff --git a/utils/rdselect_helper/rdselect_helper.cpp b/utils/rdselect_helper/rdselect_helper.cpp index 86c851ca..fa8994a1 100644 --- a/utils/rdselect_helper/rdselect_helper.cpp +++ b/utils/rdselect_helper/rdselect_helper.cpp @@ -2,7 +2,7 @@ // // SETUID helper script for rdselect(1) // -// (C) Copyright 2018-2021 Fred Gleason +// (C) Copyright 2018-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 @@ -258,8 +258,8 @@ bool MainObject::ProcessActive(const QStringList &cmds) const if(ok) { if((f=fopen((QString("/proc/")+dirs[i]+"/cmdline").toUtf8(),"r"))!=NULL) { if(fgets(line,1024,f)!=NULL) { - QStringList f1=QString(line).split(" ",QString::SkipEmptyParts); - QStringList f2=f1[0].split("/",QString::SkipEmptyParts); + QStringList f1=QString(line).split(" ",Qt::SkipEmptyParts); + QStringList f2=f1[0].split("/",Qt::SkipEmptyParts); cmdline=f2[f2.size()-1]; for(int j=0;j