Skip to content

Commit

Permalink
[quickphrase] clang-tidy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Apr 26, 2024
1 parent aad899b commit 001a8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/modules/quickphrase/quickphrase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "fcitx-config/iniparser.h"
#include "fcitx-utils/i18n.h"
#include "fcitx-utils/inputbuffer.h"
#include "fcitx/addonfactory.h"
#include "fcitx/addonmanager.h"
#include "fcitx/candidatelist.h"
#include "fcitx/inputcontextmanager.h"
Expand Down
3 changes: 1 addition & 2 deletions src/modules/quickphrase/quickphrase.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "fcitx-config/iniparser.h"
#include "fcitx-utils/i18n.h"
#include "fcitx-utils/key.h"
#include "fcitx/addonfactory.h"
#include "fcitx/addoninstance.h"
#include "fcitx/inputcontextproperty.h"
#include "fcitx/instance.h"
Expand Down Expand Up @@ -59,7 +58,7 @@ class QuickPhrase final : public AddonInstance {
safeSaveAsIni(config_, "conf/quickphrase.conf");
}
void setSubConfig(const std::string &path,
const fcitx::RawConfig &) override {
const fcitx::RawConfig & /*unused*/) override {
if (path == "editor") {
reloadConfig();
}
Expand Down

0 comments on commit 001a8fc

Please sign in to comment.