2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix save dialog in macOS for streamed videos.

This commit is contained in:
John Preston
2019-10-07 14:34:40 +03:00
parent 883d6dcede
commit 17baac710e
5 changed files with 33 additions and 15 deletions

View File

@@ -729,6 +729,12 @@ QWidget *Application::getFileDialogParent() {
: nullptr;
}
void Application::notifyFileDialogShown(bool shown) {
if (_mediaView) {
_mediaView->notifyFileDialogShown(shown);
}
}
void Application::checkMediaViewActivation() {
if (_mediaView && !_mediaView->isHidden()) {
_mediaView->activateWindow();