mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
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…
x
Reference in New Issue
Block a user