mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 00:23:33 +02: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:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <qfile.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qtextstream.h>
|
||||
#include <q3textstream.h>
|
||||
|
||||
#include "rdairplay_conf.h"
|
||||
#include "rdconf.h"
|
||||
@@ -42,13 +42,13 @@ bool RDReport::ExportMusicPlayout(const QString &filename,
|
||||
QString cart_num;
|
||||
|
||||
QFile *file=new QFile(filename);
|
||||
if(!file->open(IO_WriteOnly|IO_Truncate)) {
|
||||
if(!file->open(QIODevice::WriteOnly|QIODevice::Truncate)) {
|
||||
report_error_code=RDReport::ErrorCantOpen;
|
||||
delete file;
|
||||
return false;
|
||||
}
|
||||
QTextStream *strm=new QTextStream(file);
|
||||
strm->setEncoding(QTextStream::UnicodeUTF8);
|
||||
Q3TextStream *strm=new Q3TextStream(file);
|
||||
strm->setEncoding(Q3TextStream::UnicodeUTF8);
|
||||
if(useLeadingZeros()) {
|
||||
cart_fmt=QString().sprintf("%%0%uu",cartDigits());
|
||||
}
|
||||
|
Reference in New Issue
Block a user