rem: KMessageBox::error(knGlobals.topWidget, i18n("Unable to save remote file!"));
add: KMessageBox::error((w!=0)? w : knGlobals.topWidget, i18n("Unable to save remote file!"));
context: void displayRemoteFileError(){  KMessageBox::error(knGlobals.topWidget, i18n("Unable to save remote file!"));}