[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-11-02 09:04:09 +00:00 committed by xiaoyifang
parent db4c352d6c
commit 2de2141758
4 changed files with 12 additions and 11 deletions

View file

@ -64,12 +64,13 @@ Groups::Groups( QWidget * parent,
countChanged(); countChanged();
} }
void Groups::rebuild( vector< sptr< Dictionary::Class > > const & dicts_, void Groups::rebuild( vector< sptr< Dictionary::Class > > const & dicts_,
Config::Groups const & groups_, Config::Groups const & groups_,
Config::Group const & order ){ Config::Group const & order )
{
setUpdatesEnabled( false ); setUpdatesEnabled( false );
dicts = dicts_; dicts = dicts_;
groups = groups_; groups = groups_;
ui.dictionaries->setAsSource(); ui.dictionaries->setAsSource();

View file

@ -19,8 +19,8 @@ public:
Config::Groups const &, Config::Groups const &,
Config::Group const & order ); Config::Group const & order );
void rebuild( vector< sptr< Dictionary::Class > > const & dicts_, void rebuild( vector< sptr< Dictionary::Class > > const & dicts_,
Config::Groups const & groups_, Config::Groups const & groups_,
Config::Group const & order ); Config::Group const & order );
/// Instructs the dialog to position itself on editing the given group. /// Instructs the dialog to position itself on editing the given group.
void editGroup( unsigned id ); void editGroup( unsigned id );

View file

@ -134,8 +134,8 @@ OrderAndProps::OrderAndProps( QWidget * parent,
} }
void OrderAndProps::rebuild( Config::Group const & dictionaryOrder, void OrderAndProps::rebuild( Config::Group const & dictionaryOrder,
Config::Group const & inactiveDictionaries, Config::Group const & inactiveDictionaries,
std::vector< sptr< Dictionary::Class > > const & allDictionaries ) std::vector< sptr< Dictionary::Class > > const & allDictionaries )
{ {
Instances::Group order( dictionaryOrder, allDictionaries, Config::Group() ); Instances::Group order( dictionaryOrder, allDictionaries, Config::Group() );
Instances::Group inactive( inactiveDictionaries, allDictionaries, Config::Group() ); Instances::Group inactive( inactiveDictionaries, allDictionaries, Config::Group() );

View file

@ -18,8 +18,8 @@ public:
Config::Group const & inactiveDictionaries, Config::Group const & inactiveDictionaries,
std::vector< sptr< Dictionary::Class > > const & allDictionaries ); std::vector< sptr< Dictionary::Class > > const & allDictionaries );
void rebuild( Config::Group const & dictionaryOrder, void rebuild( Config::Group const & dictionaryOrder,
Config::Group const & inactiveDictionaries, Config::Group const & inactiveDictionaries,
std::vector< sptr< Dictionary::Class > > const & allDictionaries ); std::vector< sptr< Dictionary::Class > > const & allDictionaries );
Config::Group getCurrentDictionaryOrder() const; Config::Group getCurrentDictionaryOrder() const;
Config::Group getCurrentInactiveDictionaries() const; Config::Group getCurrentInactiveDictionaries() const;