UI: Use theme path prefix in source tree
This commit is contained in:
parent
1906a14b90
commit
a2db8876fc
@ -1664,11 +1664,8 @@ void SourceTree::AddGroup()
|
||||
|
||||
void SourceTree::UpdateNoSourcesMessage()
|
||||
{
|
||||
std::string darkPath;
|
||||
GetDataFilePath("themes/Dark/no_sources.svg", darkPath);
|
||||
|
||||
QString file = !App()->IsThemeDark() ? ":res/images/no_sources.svg"
|
||||
: darkPath.c_str();
|
||||
: "theme:Dark/no_sources.svg";
|
||||
iconNoSources.load(file);
|
||||
|
||||
QTextOption opt(Qt::AlignHCenter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user