diff options
| author | Leifa <26681464+TrickyLeifa@users.noreply.github.com> | 2024-07-09 12:53:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 12:53:19 +0200 |
| commit | 662d4781d2653e02b9f3727a9299ded8c7b1eaa2 (patch) | |
| tree | a04af2e54e99656562b984ee0796953142f3a046 /src/courtroom.h | |
| parent | 8a98de8cb3500afb9f25ccd11664b90b3f4c3799 (diff) | |
Remove editable side dropdown (#1009)
Resolve #985
Co-authored-by: stonedDiscord <Tukz@gmx.de>
Diffstat (limited to 'src/courtroom.h')
| -rw-r--r-- | src/courtroom.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/courtroom.h b/src/courtroom.h index a01102ec..c0fff0ad 100644 --- a/src/courtroom.h +++ b/src/courtroom.h @@ -167,6 +167,9 @@ public: QString get_current_char(); QString get_current_background(); + QString default_side(); + QString current_or_default_side(); + // updates character to p_cid and updates necessary ui elements // Optional "char_name" is the iniswap we're using void update_character(int p_cid, QString char_name = QString(), bool reset_emote = false); @@ -520,9 +523,6 @@ private: QVector<bool> color_markdown_talking_list; // Text Color-related optimization END - // List of all currently available pos - QStringList pos_dropdown_list; - // Current list file sorted line by line QStringList sound_list; @@ -575,7 +575,6 @@ private: bool server_ooc = true; QString current_background = "default"; - QString current_side; // used for courtroom slide logic QString last_side = ""; @@ -845,7 +844,6 @@ private Q_SLOTS: void on_emote_right_clicked(); void on_emote_dropdown_changed(int p_index); - void on_pos_dropdown_changed(int p_index); void on_pos_dropdown_changed(QString p_text); void on_pos_dropdown_context_menu_requested(const QPoint &pos); void on_pos_remove_clicked(); |
