ui: use new subtitles icon
This commit is contained in:
@@ -273,7 +273,7 @@ QIcon Footage::icon() const
|
||||
} else if (s.is_valid() && s.video_type() == VideoParams::kVideoTypeStill) {
|
||||
return icon::Image;
|
||||
} else if (HasEnabledSubtitleStreams()) {
|
||||
return icon::TextSmallCaps; // FIXME: Procure icon
|
||||
return icon::Subtitles;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ QIcon icon::EyeClosed;
|
||||
QIcon icon::LockOpened;
|
||||
QIcon icon::LockClosed;
|
||||
QIcon icon::Pencil;
|
||||
QIcon icon::Subtitles;
|
||||
|
||||
void icon::LoadAll(const QString& theme)
|
||||
{
|
||||
@@ -164,6 +165,7 @@ void icon::LoadAll(const QString& theme)
|
||||
LockClosed = Create(theme, "lock-closed");
|
||||
|
||||
Pencil = Create(theme, "text-edit");
|
||||
Subtitles = Create(theme, "subtitles");
|
||||
}
|
||||
|
||||
QIcon icon::Create(const QString& theme, const QString &name)
|
||||
|
||||
@@ -104,6 +104,7 @@ extern QIcon EyeClosed;
|
||||
extern QIcon LockOpened;
|
||||
extern QIcon LockClosed;
|
||||
extern QIcon Pencil;
|
||||
extern QIcon Subtitles;
|
||||
|
||||
/**
|
||||
* @brief Create an icon object loaded from file
|
||||
|
||||
Reference in New Issue
Block a user