Skip to content

Commit

Permalink
Avoid adding the default dummy plugin to Preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Dec 15, 2023
1 parent 1db5049 commit 40e4ce9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/configurationmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ void ConfigurationManager::initPluginWidgets(ItemFactory *itemFactory)
m_tabItems->setItemsMovable(true);

for ( const auto &loader : itemFactory->loaders() ) {
if ( loader->name().isEmpty() )
continue;

ItemOrderList::ItemPtr pluginItem(new PluginItem(loader));
const QIcon icon = getIcon(loader->icon());
const auto state = loader->isEnabled()
Expand Down

0 comments on commit 40e4ce9

Please sign in to comment.