Fire reject signal on exceptions in XDP file dialog
This commit is contained in:
parent
5d1601d9c9
commit
d6848c49e8
|
@ -440,6 +440,8 @@ void XDPFileDialog::openPortal() {
|
|||
} catch (const Glib::Error &e) {
|
||||
LOG(("XDP File Dialog Error: %1").arg(
|
||||
QString::fromStdString(e.what())));
|
||||
|
||||
_reject.fire({});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -619,6 +621,8 @@ void XDPFileDialog::gotResponse(
|
|||
} catch (const std::exception &e) {
|
||||
LOG(("XDP File Dialog Error: %1").arg(
|
||||
QString::fromStdString(e.what())));
|
||||
|
||||
_reject.fire({});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue