mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Activate mediaview instead of main window.
If the mediaview is currently shown and we receive an activation event for the main window we should activate and focus mediaview.
This commit is contained in:
@@ -24,7 +24,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
#include "platform/platform_main_window.h"
|
||||
#include "core/single_timer.h"
|
||||
|
||||
class MediaView;
|
||||
class PasscodeWidget;
|
||||
class MainWidget;
|
||||
class LayerStackWidget;
|
||||
@@ -188,11 +187,6 @@ signals:
|
||||
void tempDirClearFailed(int task);
|
||||
void checkNewAuthorization();
|
||||
|
||||
private slots:
|
||||
void onStateChanged(Qt::WindowState state);
|
||||
|
||||
void onWindowActiveChanged();
|
||||
|
||||
private:
|
||||
void checkAuthSession();
|
||||
void showConnecting(const QString &text, const QString &reconnect = QString());
|
||||
|
Reference in New Issue
Block a user