compatibility with Qt-5.12 and Ubuntu 20.04LTS

This commit is contained in:
Axel Kohlmeyer
2024-07-18 00:16:12 -04:00
parent 78aacfb52e
commit 85beac7107

View File

@ -423,7 +423,7 @@ void ImageViewer::do_rot_up()
void ImageViewer::cmd_to_clipboard()
{
auto words = last_dump_cmd.split(" ", Qt::SkipEmptyParts);
auto words = last_dump_cmd.split(" ");
QString blank = QStringLiteral(" ");
int modidx = words.indexOf("modify");
int maxidx = words.size();