Skip to content

Commit

Permalink
display error notification on delete url
Browse files Browse the repository at this point in the history
  • Loading branch information
kvbaxi committed Jun 14, 2024
1 parent 7126506 commit a592fb7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/tools/imgupload/storages/imguploaderbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ void ImgUploaderBase::copyImage()

void ImgUploaderBase::deleteCurrentImage()
{
History history;
HistoryFileName unpackFileName = history.unpackFileName(m_currentImageName);
deleteImage(unpackFileName.file, unpackFileName.token);
m_notification->showMessage(tr("Currently deleting imagees is unsupported on this version!"));
// History history;
// HistoryFileName unpackFileName = history.unpackFileName(m_currentImageName);
// deleteImage(unpackFileName.file, unpackFileName.token);
}

void ImgUploaderBase::saveScreenshotToFilesystem()
Expand Down

0 comments on commit a592fb7

Please sign in to comment.