mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 16:20:14 +01:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <qdir.h>
|
||||
//Added by qt3to4:
|
||||
#include <QSqlQuery>
|
||||
|
||||
#include <dbversion.h>
|
||||
#include <rdcart.h>
|
||||
@@ -141,7 +143,7 @@ void MainObject::RelinkAudio(const QString &srcdir) const
|
||||
|
||||
QDir dir(srcdir);
|
||||
QStringList files=dir.entryList(QDir::Files|QDir::Readable|QDir::Hidden);
|
||||
for(unsigned i=0;i<files.size();i++) {
|
||||
for(int i=0;i<files.size();i++) {
|
||||
QString filename=dir.path()+"/"+files[i];
|
||||
QString hash=RDSha1Hash(filename);
|
||||
QString firstdest;
|
||||
@@ -596,7 +598,7 @@ void MainObject::CheckOrphanedAudio() const
|
||||
{
|
||||
QDir dir(db_config->audioRoot());
|
||||
QStringList list=dir.entryList("??????_???.wav",QDir::Files);
|
||||
for(unsigned i=0;i<list.size();i++) {
|
||||
for(int i=0;i<list.size();i++) {
|
||||
bool ok=false;
|
||||
list[i].left(6).toUInt(&ok);
|
||||
if(ok) {
|
||||
|
||||
Reference in New Issue
Block a user