mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Completely removed common and platform code for tray from main window.
This commit is contained in:
@@ -80,7 +80,6 @@ public:
|
||||
}
|
||||
|
||||
void showMainMenu();
|
||||
void updateTrayMenu() override;
|
||||
void fixOrder() override;
|
||||
|
||||
void showLayer(
|
||||
@@ -119,12 +118,6 @@ protected:
|
||||
void clearWidgetsHook() override;
|
||||
|
||||
private:
|
||||
[[nodiscard]] bool skipTrayClick() const;
|
||||
|
||||
void createTrayIconMenu();
|
||||
void handleTrayIconActication(
|
||||
QSystemTrayIcon::ActivationReason reason) override;
|
||||
|
||||
void applyInitialWorkMode();
|
||||
void ensureLayerCreated();
|
||||
void destroyLayer();
|
||||
@@ -139,15 +132,11 @@ private:
|
||||
|
||||
void themeUpdated(const Window::Theme::BackgroundUpdate &data);
|
||||
|
||||
void toggleDisplayNotifyFromTray();
|
||||
|
||||
QPixmap grabInner();
|
||||
|
||||
std::unique_ptr<Media::SystemMediaControlsManager> _mediaControlsManager;
|
||||
|
||||
crl::time _lastTrayClickTime = 0;
|
||||
QPoint _lastMousePosition;
|
||||
bool _activeForTrayIconAction = true;
|
||||
|
||||
object_ptr<Window::PasscodeLockWidget> _passcodeLock = { nullptr };
|
||||
object_ptr<Intro::Widget> _intro = { nullptr };
|
||||
@@ -157,8 +146,6 @@ private:
|
||||
|
||||
object_ptr<Window::Theme::WarningWidget> _testingThemeWarning = { nullptr };
|
||||
|
||||
rpl::event_stream<> _updateTrayMenuTextActions;
|
||||
|
||||
};
|
||||
|
||||
namespace App {
|
||||
|
Reference in New Issue
Block a user