mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-23 19:02:59 +01:00
remove appearance icon warning
This commit is contained in:
parent
4bcc6c3cdc
commit
0c35bb340a
@ -427,6 +427,11 @@ QIcon OBSBasicSettings::GetGeneralIcon() const
|
||||
return listWidget->item(0)->icon();
|
||||
}
|
||||
|
||||
QIcon OBSBasicSettings::GetAppearanceIcon() const
|
||||
{
|
||||
return QIcon();
|
||||
}
|
||||
|
||||
QIcon OBSBasicSettings::GetStreamIcon() const
|
||||
{
|
||||
return listWidget->item(1)->icon();
|
||||
@ -467,6 +472,11 @@ void OBSBasicSettings::SetGeneralIcon(const QIcon &icon)
|
||||
listWidget->item(0)->setIcon(icon);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::SetAppearanceIcon(const QIcon &icon)
|
||||
{
|
||||
UNUSED_PARAMETER(icon);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::SetStreamIcon(const QIcon &icon)
|
||||
{
|
||||
listWidget->item(1)->setIcon(icon);
|
||||
|
@ -19,6 +19,7 @@
|
||||
class OBSBasicSettings : public QDialog {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QIcon generalIcon READ GetGeneralIcon WRITE SetGeneralIcon DESIGNABLE true)
|
||||
Q_PROPERTY(QIcon appearanceIcon READ GetAppearanceIcon WRITE SetAppearanceIcon DESIGNABLE true)
|
||||
Q_PROPERTY(QIcon streamIcon READ GetStreamIcon WRITE SetStreamIcon DESIGNABLE true)
|
||||
Q_PROPERTY(QIcon outputIcon READ GetOutputIcon WRITE SetOutputIcon DESIGNABLE true)
|
||||
Q_PROPERTY(QIcon audioIcon READ GetAudioIcon WRITE SetAudioIcon DESIGNABLE true)
|
||||
@ -30,6 +31,7 @@ private:
|
||||
QListWidget *listWidget;
|
||||
|
||||
QIcon GetGeneralIcon() const;
|
||||
QIcon GetAppearanceIcon() const;
|
||||
QIcon GetStreamIcon() const;
|
||||
QIcon GetOutputIcon() const;
|
||||
QIcon GetAudioIcon() const;
|
||||
@ -63,6 +65,7 @@ private:
|
||||
|
||||
private slots:
|
||||
void SetGeneralIcon(const QIcon &icon);
|
||||
void SetAppearanceIcon(const QIcon &icon);
|
||||
void SetStreamIcon(const QIcon &icon);
|
||||
void SetOutputIcon(const QIcon &icon);
|
||||
void SetAudioIcon(const QIcon &icon);
|
||||
|
Loading…
Reference in New Issue
Block a user