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 'web/webget/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -25028,3 +25028,5 @@
|
|||||||
* Cleaned up compiler warnings in 'utils/rdsoftkeys/'.
|
* Cleaned up compiler warnings in 'utils/rdsoftkeys/'.
|
||||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up compiler warnings in 'web/rdxport/'.
|
* Cleaned up compiler warnings in 'web/rdxport/'.
|
||||||
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compiler warnings in 'web/webget/'.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Rivendell upload/download utility
|
// Rivendell upload/download utility
|
||||||
//
|
//
|
||||||
// (C) Copyright 2018-2023 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2018-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
|
||||||
@@ -416,8 +416,8 @@ void MainObject::PutAudio()
|
|||||||
//
|
//
|
||||||
// Generate Title
|
// Generate Title
|
||||||
//
|
//
|
||||||
QStringList f0=filename.split("/",QString::SkipEmptyParts);
|
QStringList f0=filename.split("/",Qt::SkipEmptyParts);
|
||||||
QStringList f1=f0.last().split(".",QString::KeepEmptyParts);
|
QStringList f1=f0.last().split(".",Qt::KeepEmptyParts);
|
||||||
QString short_name=f0.last();
|
QString short_name=f0.last();
|
||||||
f1.removeLast();
|
f1.removeLast();
|
||||||
QString title=f1.join(".");
|
QString title=f1.join(".");
|
||||||
@@ -789,7 +789,7 @@ void MainObject::SaveSourceFile(const QString &filepath) const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QDateTime now=QDateTime::currentDateTime();
|
QDateTime now=QDateTime::currentDateTime();
|
||||||
QStringList f0=filepath.split("/",QString::SkipEmptyParts);
|
QStringList f0=filepath.split("/",Qt::SkipEmptyParts);
|
||||||
QString filename=rda->config()->saveWebgetFilesDirectory()+"/"+
|
QString filename=rda->config()->saveWebgetFilesDirectory()+"/"+
|
||||||
now.toString("yyyyMMdd-hhmmss-")+f0.last();
|
now.toString("yyyyMMdd-hhmmss-")+f0.last();
|
||||||
|
|
||||||
@@ -816,7 +816,7 @@ void MainObject::SaveSourceFile(const QString &filepath) const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
filename=rda->config()->saveWebgetFilesDirectory()+"/"+
|
filename=rda->config()->saveWebgetFilesDirectory()+"/"+
|
||||||
now.toString("yyyyMMdd-hhmmss")+QString().sprintf("[%d]-",num)+f0.last();
|
now.toString("yyyyMMdd-hhmmss")+QString::asprintf("[%d]-",num)+f0.last();
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user