aboutsummaryrefslogtreecommitdiff
path: root/src/emotes.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2021-04-23 22:20:31 +0300
committerGitHub <noreply@github.com>2021-04-23 14:20:31 -0500
commit0a1a47c920a10fe5960f990c48102d8bde08a6fe (patch)
tree88bc0f7a59c3f13ddf993056f153751d319f4686 /src/emotes.cpp
parent31abe0c84845556d038cdd4a67bd871448adffd1 (diff)
Expand .css power by giving object names to all AO UI elements (#534)
* Fix ic chatlog placeholder text not being translated * Fix inconsistent/nonsensical path resolution for the backwards-compatibility misc/default/config.ini vs themes/current_theme/misc/default/config.ini Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
Diffstat (limited to 'src/emotes.cpp')
-rw-r--r--src/emotes.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emotes.cpp b/src/emotes.cpp
index 38250c93..82720076 100644
--- a/src/emotes.cpp
+++ b/src/emotes.cpp
@@ -5,11 +5,15 @@
void Courtroom::initialize_emotes()
{
ui_emotes = new QWidget(this);
+ ui_emotes->setObjectName("ui_emotes");
ui_emote_left = new AOButton(this, ao_app);
+ ui_emote_left->setObjectName("ui_emote_left");
ui_emote_right = new AOButton(this, ao_app);
+ ui_emote_right->setObjectName("ui_emote_right");
ui_emote_dropdown = new QComboBox(this);
+ ui_emote_dropdown->setObjectName("ui_emote_dropdown");
connect(ui_emote_left, SIGNAL(clicked()), this,
SLOT(on_emote_left_clicked()));