Made 8 customizable timeout buttons

changed fixed timeout buttons to be read from settings
This commit is contained in:
TranRed
2019-07-17 16:50:03 +02:00
parent d3aa3694f2
commit e64f37d288
3 changed files with 119 additions and 28 deletions
+3 -1
View File
@@ -29,6 +29,7 @@ private:
void updateUserData();
void loadAvatar(const QUrl &url);
void loadProfileBanner(const QUrl &url);
bool isMod_;
bool isBroadcaster_;
@@ -42,8 +43,9 @@ private:
struct {
Button *avatarButton = nullptr;
// RippleEffectLabel2 *viewLogs = nullptr;
// RippleEffectLabel2 *viewLogs = nullptr;
QPixmap profileBanner;
Label *nameLabel = nullptr;
Label *viewCountLabel = nullptr;
Label *followerCountLabel = nullptr;