Change location where Kaffeine stores temporary pipe files from $HOME to

the more appropriate $TDEHOME/tmp-$HOSTNAME.
pull/1/head
Darrell Anderson 13 years ago
parent 9e87b0c38a
commit b480e3db3a

@ -1065,7 +1065,8 @@ void DvbPanel::setConfig()
connect( d, TQT_SIGNAL(isRecording(bool)), this, TQT_SLOT(setRecordLed(bool)) ); connect( d, TQT_SIGNAL(isRecording(bool)), this, TQT_SLOT(setRecordLed(bool)) );
connect( d, TQT_SIGNAL(playDvb()), this, TQT_SLOT(pipeOpened()) ); connect( d, TQT_SIGNAL(playDvb()), this, TQT_SLOT(pipeOpened()) );
} }
fifoName = TQDir::homeDirPath()+"/.kaxtv.ts"; // fifoName = TQDir::homeDirPath()+"/.kaxtv.ts";
fifoName = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv.ts";
TQFile f( fifoName ); TQFile f( fifoName );
if ( f.exists() ) if ( f.exists() )
f.remove(); f.remove();
@ -1073,7 +1074,8 @@ void DvbPanel::setConfig()
perror( fifoName.latin1() ); perror( fifoName.latin1() );
fifoName = ""; fifoName = "";
} }
fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts"; // fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts";
fifoName1 = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv1.ts";
TQFile f1( fifoName1 ); TQFile f1( fifoName1 );
if ( f1.exists() ) if ( f1.exists() )
f1.remove(); f1.remove();

Loading…
Cancel
Save