自定义内存分配池

This commit is contained in:
2026-07-29 18:08:57 +08:00
parent 5a3511bb58
commit d943d82554
122 changed files with 3602 additions and 1215 deletions
@@ -111,12 +111,13 @@ void Virtual_Keyboard::get_candidate_list(const QString spell) {
if (cand == 0) {
return;
}
QStringList ret = core->get_candidate(cand);
if (ret.isEmpty()) {
std::vector<QString> ret = core->get_candidate(cand);
if (ret.empty()) {
return;
}
list_widget->clear();
list_widget->addItems(ret);
for (const QString& candidate : ret)
list_widget->addItem(candidate);
}
void Virtual_Keyboard::handle_Key_Press(Key_Button* button) {
if (state == Chinese) {