Refactor Tab completion for Twitch commands (#3144)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -23,11 +23,11 @@ class CommandModel;
|
||||
class CommandController final : public Singleton
|
||||
{
|
||||
public:
|
||||
SignalVector<Command> items_;
|
||||
SignalVector<Command> items;
|
||||
|
||||
QString execCommand(const QString &text, std::shared_ptr<Channel> channel,
|
||||
bool dryRun);
|
||||
QStringList getDefaultTwitchCommandList();
|
||||
QStringList getDefaultChatterinoCommandList();
|
||||
|
||||
virtual void initialize(Settings &, Paths &paths) override;
|
||||
virtual void save() override;
|
||||
@@ -61,7 +61,7 @@ private:
|
||||
std::unique_ptr<pajlada::Settings::Setting<std::vector<Command>>>
|
||||
commandsSetting_;
|
||||
|
||||
QStringList commandAutoCompletions_;
|
||||
QStringList defaultChatterinoCommandAutoCompletions_;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user