mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-25 01:05:08 +03:00
Re #1567: introduced unlink() function that takes QString parameter
This commit is contained in:
parent
c0e612531d
commit
4103adf75d
7 changed files with 19 additions and 19 deletions
|
@ -964,3 +964,10 @@ QString index2version(int index)
|
|||
return QString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int unlink(const QString & fileName)
|
||||
{
|
||||
QByteArray ba = fileName.toLatin1();
|
||||
return unlink(ba.constData());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue