mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +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 )
|
||||
{
|
||||
disconnect( completer,
|
||||
0,
|
||||
translate_line,0 );
|
||||
disconnect( completer, 0, translate_line, 0 );
|
||||
auto model = (QStringListModel *)( completer->model() );
|
||||
|
||||
model->setStringList( _words );
|
||||
|
|
Loading…
Reference in a new issue