[digiKam-users] Renaming a folder does not work

Maik Qualmann metzpinguin at gmail.com
Sat Mar 10 07:48:45 GMT 2018


It's a simple QDir() operation. The problem must also occur outside with 
digiKam. Does it work if you rename the folder with Dolphin?

bool ret = QDir().rename(oldUrl.toLocalFile(), newUrl.toLocalFile());

if (!ret)
{
    ScanController::instance()->resumeCollectionScan();

    errMsg = i18n("Failed to rename Album");
    return false;
}

Maik

Am Samstag, 10. März 2018, 00:20:59 CET schrieb karsten_df:
> Screenshot_20180310_001628.png
> <http://digikam.1695700.n4.nabble.com/file/t376440/Screenshot_20180310_00162
> 8.png>
> 
> This is actually from a fresh install I just did (all known installation
> files deleted prior to installation, however existing database / pictures
> re-used). Database & pictures are on a linux server in my network. Fresh
> install seems to behave quite as the previous one.
> 
> 
> 
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html







More information about the Digikam-users mailing list