2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 16:15:13 +00:00

Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
RadRussianRus
2019-10-07 21:44:39 +03:00
5 changed files with 33 additions and 15 deletions

View File

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