Skip to content

Commit 1935fee

Browse files
vrublegglassez
authored andcommitted
Resolve relative UI theme paths from the profile base path
PR qbittorrent#24658.
1 parent 633f960 commit 1935fee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui/uithememanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace
5555

5656
Path resolveThemePath(const Path &themePath)
5757
{
58-
return (themePath.isAbsolute() ? themePath : (Profile::instance()->rootPath() / themePath));
58+
return (themePath.isAbsolute() ? themePath : (Profile::instance()->location(SpecialFolder::Config) / themePath));
5959
}
6060
}
6161

0 commit comments

Comments
 (0)