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