[Icon Applet] Set busy to false when copying failed

Otherwise we would spin indefinitely
wilder-5.14
Kai Uwe Broulik 9 years ago
parent 64bc9941fc
commit a243eb8767
  1. 1
      applets/icon/iconapplet.cpp

@ -144,6 +144,7 @@ void IconApplet::populate()
if (!QFile::copy(localUrlString, backingDesktopFile)) {
setLaunchErrorMessage(i18n("Failed to copy icon widget desktop file from '%1' to '%2'", localUrlString, backingDesktopFile));
setBusy(false);
return;
}

Loading…
Cancel
Save