Skip to content

Commit

Permalink
change to using toString
Browse files Browse the repository at this point in the history
  • Loading branch information
AdenKoperczak committed Jun 29, 2024
1 parent 9c41ce7 commit 5afefeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scwx-qt/source/scwx/qt/util/texture_atlas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ TextureAtlas::Impl::LoadImage(const std::string& imagePath)
if (url.isLocalFile())
{
QString suffix = QFileInfo(qImagePath).suffix().toLower();
QString qLocalImagePath = url.toLocalFile();
QString qLocalImagePath = url.toString(QUrl::PreferLocalFile);

if (suffix == "svg")
{
Expand Down

0 comments on commit 5afefeb

Please sign in to comment.