mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'utils/rdsoftkeys/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -25024,3 +25024,5 @@
|
|||||||
* Cleaned up compiler warnings in 'utils/rdselect_helper/'.
|
* Cleaned up compiler warnings in 'utils/rdselect_helper/'.
|
||||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up compiler warnings in 'utils/rdsinglestart/'.
|
* Cleaned up compiler warnings in 'utils/rdsinglestart/'.
|
||||||
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compiler warnings in 'utils/rdsoftkeys/'.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A utility for sending RML Commands
|
// A utility for sending RML Commands
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2025 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -88,8 +88,8 @@ MainWidget::MainWidget(RDConfig *config,Qt::WindowFlags f)
|
|||||||
profile->intValue("SoftKeys","Columns",RDSOFTKEYS_DEFAULT_COLUMNS);
|
profile->intValue("SoftKeys","Columns",RDSOFTKEYS_DEFAULT_COLUMNS);
|
||||||
int col=0;
|
int col=0;
|
||||||
unsigned row=0;
|
unsigned row=0;
|
||||||
while(!(rmlcmd=profile->stringValue("SoftKeys",QString().
|
while(!(rmlcmd=profile->stringValue("SoftKeys",
|
||||||
sprintf("Command%d",n+1),"")).isEmpty()) {
|
QString::asprintf("Command%d",n+1),"")).isEmpty()) {
|
||||||
for(int i=0;i<rmlcmd.length();i++) {
|
for(int i=0;i<rmlcmd.length();i++) {
|
||||||
if(rmlcmd.at(i)==':') {
|
if(rmlcmd.at(i)==':') {
|
||||||
key_macros.push_back(rmlcmd.right(rmlcmd.length()-(i+1)));
|
key_macros.push_back(rmlcmd.right(rmlcmd.length()-(i+1)));
|
||||||
|
Reference in New Issue
Block a user