forked from qt-creator/qt-creator
		
	Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
This commit is contained in:
		@@ -122,6 +122,11 @@ QString SettingsPage::displayCategory() const
 | 
			
		||||
    return QCoreApplication::translate("VCSBase", VCSBase::Constants::VCS_SETTINGS_TR_CATEGORY);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QIcon SettingsPage::categoryIcon() const
 | 
			
		||||
{
 | 
			
		||||
    return QIcon(); // TODO: Icon for Version Control
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QWidget *SettingsPage::createPage(QWidget *parent)
 | 
			
		||||
{
 | 
			
		||||
    m_widget = new SettingsPageWidget(parent);
 | 
			
		||||
 
 | 
			
		||||
@@ -74,6 +74,7 @@ public:
 | 
			
		||||
    QString displayName() const;
 | 
			
		||||
    QString category() const;
 | 
			
		||||
    QString displayCategory() const;
 | 
			
		||||
    QIcon categoryIcon() const;
 | 
			
		||||
 | 
			
		||||
    QWidget *createPage(QWidget *parent);
 | 
			
		||||
    void apply();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user