diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-04-29 00:53:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 00:53:57 -0500 |
| commit | 75da07d190d523ae8b7ec90bf5bbe6bb1a622136 (patch) | |
| tree | 194ed1511f5b025b86b4ef93e0b0e5438bca9f93 /include | |
| parent | 1d809726a91e6ccadb8ddca8e3f0933c985005f3 (diff) | |
| parent | 99d083d114844ce3f8274663da212784595421ed (diff) | |
Merge pull request #545 from MangosArentLiterature/default-shownames
Add default shownames
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 3 | ||||
| -rw-r--r-- | include/aooptionsdialog.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 725f2bba..7f7f3e12 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -278,6 +278,9 @@ public: // Returns whether the user would like to have custom shownames on by default. bool get_showname_enabled_by_default(); + //Returns the showname the user may have set in config.ini. + QString get_default_showname(); + // Returns the list of words in callwords.ini QStringList get_call_words(); diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h index 45fc86ca..a6c8b8e9 100644 --- a/include/aooptionsdialog.h +++ b/include/aooptionsdialog.h @@ -78,6 +78,8 @@ private: QLabel *ui_username_lbl; QLabel *ui_showname_lbl; QCheckBox *ui_showname_cb; + QLabel *ui_default_showname_lbl; + QLineEdit *ui_default_showname_textbox; QFrame *ui_net_divider; QLabel *ui_ms_lbl; QLineEdit *ui_ms_textbox; |
