mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add animations enable/disable setting.
Open chats / users on mouse press if animations are disabled.
This commit is contained in:
@@ -23,8 +23,6 @@ class Radioenum;
|
||||
} // namespace Ui
|
||||
|
||||
class AutoDownloadBox : public BoxContent {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AutoDownloadBox(QWidget *parent);
|
||||
|
||||
@@ -34,17 +32,15 @@ protected:
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
|
||||
private slots:
|
||||
void onSave();
|
||||
|
||||
private:
|
||||
void save();
|
||||
|
||||
object_ptr<Ui::Checkbox> _photoPrivate;
|
||||
object_ptr<Ui::Checkbox> _photoGroups;
|
||||
object_ptr<Ui::Checkbox> _audioPrivate;
|
||||
object_ptr<Ui::Checkbox> _audioGroups;
|
||||
object_ptr<Ui::Checkbox> _gifPrivate;
|
||||
object_ptr<Ui::Checkbox> _gifGroups;
|
||||
object_ptr<Ui::Checkbox> _gifPlay;
|
||||
|
||||
int _sectionHeight = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user