UI: Use theme path prefix in source tree
This commit is contained in:
parent
1906a14b90
commit
a2db8876fc
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue