mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
06fc833146
commit
c56f258a8f
|
@ -79,9 +79,7 @@ void TranslateBox::setSizePolicy( QSizePolicy policy )
|
||||||
|
|
||||||
void TranslateBox::setModel( QStringList & _words )
|
void TranslateBox::setModel( QStringList & _words )
|
||||||
{
|
{
|
||||||
disconnect( completer,
|
disconnect( completer, 0, translate_line, 0 );
|
||||||
0,
|
|
||||||
translate_line,0 );
|
|
||||||
auto model = (QStringListModel *)( completer->model() );
|
auto model = (QStringListModel *)( completer->model() );
|
||||||
|
|
||||||
model->setStringList( _words );
|
model->setStringList( _words );
|
||||||
|
|
Loading…
Reference in a new issue