mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
Added drop support for copying/moving comics in the current folder
This commit is contained in:
@ -449,6 +449,8 @@ QString TreeModel::getDatabase()
|
||||
|
||||
QString TreeModel::getFolderPath(const QModelIndex &folder)
|
||||
{
|
||||
if(!folder.isValid()) //root folder
|
||||
return "/";
|
||||
return static_cast<TreeItem*>(folder.internalPointer())->data(TreeModel::Path).toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user