summaryrefslogtreecommitdiff
path: root/src/gui/widgets/whispertab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-15 17:13:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-15 17:13:17 +0300
commit8149254fa9a1f85d7a91c76250dfb7e5ce67d453 (patch)
treedaf676d4ace2fca1a72f04209a134eb0a54f6e1a /src/gui/widgets/whispertab.h
parentb91146d2cee7397ea952cf7870e04df316d9613e (diff)
downloadManaVerse-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.gz
ManaVerse-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.bz2
ManaVerse-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.xz
ManaVerse-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.zip
Autocomplete player nick in whisper first even if player offline
or not in visible range.
Diffstat (limited to 'src/gui/widgets/whispertab.h')
-rw-r--r--src/gui/widgets/whispertab.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/whispertab.h b/src/gui/widgets/whispertab.h
index 5bca422a6..8678c932c 100644
--- a/src/gui/widgets/whispertab.h
+++ b/src/gui/widgets/whispertab.h
@@ -33,7 +33,8 @@ class Channel;
class WhisperTab : public ChatTab
{
public:
- const std::string &getNick() const { return mNick; }
+ const std::string &getNick() const
+ { return mNick; }
void showHelp();
@@ -45,6 +46,8 @@ class WhisperTab : public ChatTab
void saveToLogFile(std::string &msg);
+ void getAutoCompleteList(std::vector<std::string> &names) const;
+
protected:
friend class ChatWindow;