mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +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,7 +26,7 @@
|
||||
|
||||
#include <qfile.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qprocess.h>
|
||||
#include <q3process.h>
|
||||
|
||||
#include "rdconf.h"
|
||||
#include "rd.h"
|
||||
@@ -62,7 +62,7 @@ bool RDTextFile(const QString &data)
|
||||
QStringList args;
|
||||
args+=editor;
|
||||
args+=tempfile;
|
||||
QProcess *proc=new QProcess(args);
|
||||
Q3Process *proc=new Q3Process(args);
|
||||
proc->launch("");
|
||||
delete proc;
|
||||
#else
|
||||
@@ -75,7 +75,7 @@ bool RDTextFile(const QString &data)
|
||||
write(fd,data.utf8(),data.utf8().length());
|
||||
::close(fd);
|
||||
if(fork()==0) {
|
||||
system(editor+" "+tmpfile);
|
||||
system(editor+" "+QString(tmpfile));
|
||||
unlink(tmpfile);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user