mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
opt: initialize variable in the constructor
This commit is contained in:
parent
2c9fdd5227
commit
33c631e4e5
|
@ -2,7 +2,7 @@
|
||||||
#include "wstring_qt.hh"
|
#include "wstring_qt.hh"
|
||||||
|
|
||||||
HeadwordListModel::HeadwordListModel( QObject * parent ) :
|
HeadwordListModel::HeadwordListModel( QObject * parent ) :
|
||||||
QAbstractListModel( parent ), filtering( false ), index( 0 ), ptr( 0 )
|
QAbstractListModel( parent ), filtering( false ), totalSize(0), index( 0 ),ptr( 0 )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue