1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 19:40:20 +03:00

Re #1567: introduced unlink() function that takes QString parameter

This commit is contained in:
Damjan Adamic 2014-08-03 18:03:13 +02:00
parent c0e612531d
commit 4103adf75d
7 changed files with 19 additions and 19 deletions

View file

@ -61,12 +61,8 @@ PrintDialog::PrintDialog(QWidget *parent, FirmwareInterface * firmware, GeneralS
void PrintDialog::closeEvent(QCloseEvent *event)
{
if (printfilename.isEmpty()) {
QByteArray ba = curvefile5.toLatin1();
char *name = ba.data();
unlink(name);
ba = curvefile9.toLatin1();
name = ba.data();
unlink(name);
unlink(curvefile5);
unlink(curvefile9);
}
}