clear clipboard before exiting

This commit is contained in:
Axel Kohlmeyer
2024-08-23 03:26:46 -04:00
parent a20997b7cd
commit 2beda14b23
2 changed files with 7 additions and 0 deletions

View File

@ -498,7 +498,9 @@ void ImageViewer::cmd_to_clipboard()
for (int i = modidx + 1; i < maxidx; ++i)
dumpcmd += blank + words[i];
dumpcmd += '\n';
#if QT_CONFIG(clipboard)
QGuiApplication::clipboard()->setText(dumpcmd);
#endif
}
void ImageViewer::change_group(int)