mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move passcode management from MainWindow.
Check for auto lock in AuthSession. Don't autolock while video plays. Closes #3219
This commit is contained in:
@@ -90,7 +90,6 @@ public:
|
||||
|
||||
void setupPasscode();
|
||||
void clearPasscode();
|
||||
void checkAutoLockIn(int msec);
|
||||
void setupIntro();
|
||||
void setupMain(const MTPUser *user = nullptr);
|
||||
void serviceNotification(const TextWithEntities &message, const MTPMessageMedia &media = MTP_messageMediaEmpty(), int32 date = 0, bool force = false);
|
||||
@@ -164,8 +163,6 @@ protected:
|
||||
void updateControlsGeometry() override;
|
||||
|
||||
public slots:
|
||||
void checkAutoLock();
|
||||
|
||||
void showSettings();
|
||||
void layerHidden();
|
||||
void setInnerFocus();
|
||||
@@ -238,9 +235,6 @@ private:
|
||||
bool _inactivePress = false;
|
||||
QTimer _inactiveTimer;
|
||||
|
||||
SingleTimer _autoLockTimer;
|
||||
TimeMs _shouldLockAt = 0;
|
||||
|
||||
};
|
||||
|
||||
class PreLaunchWindow : public TWidget {
|
||||
|
Reference in New Issue
Block a user