Remove empty/unused options error category
This commit is contained in:
parent
df12b96e29
commit
eee967e21d
|
@ -416,12 +416,6 @@ SettingsDialog::SettingsDialog(QWidget *parent)
|
||||||
category->assignPages({ new ProxyPage(), new UserAgentPage(), new MiscPage(), new StatsPage() });
|
category->assignPages({ new ProxyPage(), new UserAgentPage(), new MiscPage(), new StatsPage() });
|
||||||
categories << category;
|
categories << category;
|
||||||
|
|
||||||
category = new OptionCategory(this);
|
|
||||||
category->setDisplayName(tr("Specific"));
|
|
||||||
category->setIcon(QIcon(QStringLiteral(":/icons/hicolor/32x32/categories/preferences-specific.png")));
|
|
||||||
category->assignPages({});
|
|
||||||
categories << category;
|
|
||||||
|
|
||||||
categories << qtSettings().category();
|
categories << qtSettings().category();
|
||||||
|
|
||||||
categoryModel()->setCategories(categories);
|
categoryModel()->setCategories(categories);
|
||||||
|
|
|
@ -3,6 +3,5 @@
|
||||||
<file>icons/hicolor/128x128/apps/videodownloader.png</file>
|
<file>icons/hicolor/128x128/apps/videodownloader.png</file>
|
||||||
<file>icons/hicolor/32x32/categories/preferences-general.png</file>
|
<file>icons/hicolor/32x32/categories/preferences-general.png</file>
|
||||||
<file>icons/hicolor/32x32/categories/preferences-network.png</file>
|
<file>icons/hicolor/32x32/categories/preferences-network.png</file>
|
||||||
<file>icons/hicolor/32x32/categories/preferences-specific.png</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 665 B |
Loading…
Reference in New Issue