mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-22 16:49:54 +00:00
implement tryDelete() method
This commit is contained in:
@ -321,6 +321,15 @@ void GraphicalItem::readConfiguration()
|
||||
}
|
||||
|
||||
|
||||
void GraphicalItem::tryDelete()
|
||||
{
|
||||
if (debug) qDebug() << PDEBUG;
|
||||
|
||||
for (int i=0; i<dirs.count(); i++)
|
||||
if (debug) qDebug() << PDEBUG << ":" << "Remove file" << fileName << QFile::remove(fileName);
|
||||
}
|
||||
|
||||
|
||||
void GraphicalItem::writeConfiguration()
|
||||
{
|
||||
if (debug) qDebug() << PDEBUG;
|
||||
|
Reference in New Issue
Block a user