|
|
@ -129,8 +129,8 @@ void k9CdDrives::scanDrives() {
|
|
|
|
|
|
|
|
|
|
|
|
void k9CdDrives::eject(const TQString & device) {
|
|
|
|
void k9CdDrives::eject(const TQString & device) {
|
|
|
|
TDEProcess *process =new TDEProcess();
|
|
|
|
TDEProcess *process =new TDEProcess();
|
|
|
|
if (k9Tools::checkProgram("kdeeject"))
|
|
|
|
if (k9Tools::checkProgram("tdeeject"))
|
|
|
|
*process <<"kdeeject" << device;
|
|
|
|
*process <<"tdeeject" << device;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
*process <<"eject" << device;
|
|
|
|
*process <<"eject" << device;
|
|
|
|
process->start();
|
|
|
|
process->start();
|
|
|
|