diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-20 15:54:45 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-20 15:54:45 +0300 |
| commit | d3f23708c43bc132c322b778b2aa8d31a68d1c0c (patch) | |
| tree | ecdc8ee551cb0614ad0285880eb7e14312df077a /include | |
| parent | 3899dbe0bd82875214ebd676130692120f89a412 (diff) | |
Revert buttons using setIcon and use a better stylesheet method instead
Fix evidence buttons and emote buttons being hardcoded size
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoemotebutton.h | 2 | ||||
| -rw-r--r-- | include/aoevidencebutton.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/aoemotebutton.h b/include/aoemotebutton.h index 4c310147..a13688bb 100644 --- a/include/aoemotebutton.h +++ b/include/aoemotebutton.h @@ -11,7 +11,7 @@ class AOEmoteButton : public QPushButton Q_OBJECT public: - AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y); + AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y, int p_w, int p_h); void set_image(QString p_image, QString p_emote_comment); void set_char_image(QString p_char, int p_emote, QString suffix); diff --git a/include/aoevidencebutton.h b/include/aoevidencebutton.h index f7baa9fa..53fa11ff 100644 --- a/include/aoevidencebutton.h +++ b/include/aoevidencebutton.h @@ -13,7 +13,7 @@ class AOEvidenceButton : public QPushButton Q_OBJECT public: - AOEvidenceButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y); + AOEvidenceButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y, int p_w, int p_h); void set_image(QString p_image); void set_theme_image(QString p_image); |
