mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
Added drop support for copying/moving comics in the current folder
This commit is contained in:
@ -1281,7 +1281,7 @@ void MainWindowViewer::dropEvent(QDropEvent *event)
|
||||
if (info.isFile())
|
||||
{
|
||||
QStringList imageSuffixs = Comic::getSupportedImageLiteralFormats();
|
||||
if(imageSuffixs.contains("."+info.suffix())) //image dropped
|
||||
if(imageSuffixs.contains(info.suffix())) //image dropped
|
||||
openFolderFromPath(info.absoluteDir().absolutePath(),info.fileName());
|
||||
else
|
||||
openComicFromPath(fName); // if is file, setText
|
||||
|
Reference in New Issue
Block a user