2
0
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:
John Preston
2018-09-20 20:56:45 +03:00
parent 04dd4e30a8
commit fd0719db6d
12 changed files with 113 additions and 41 deletions

View File

@@ -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;