Commit 4e6aaa1c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix crash

parent af5f24e9
Pipeline #24769 passed with stage
in 5 minutes and 6 seconds
......@@ -190,7 +190,10 @@ QString Theme::dirName() const
QString Theme::absolutePath() const
{
return d->absolutePaths.at(0); // ####
if (!d->absolutePaths.isEmpty()) {
return d->absolutePaths.at(0); // ####
}
return {};
}
QString Theme::author() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment