mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:40:05 +00:00
change to using toString
This commit is contained in:
parent
9c41ce7841
commit
5afefeb673
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ TextureAtlas::Impl::LoadImage(const std::string& imagePath)
|
||||||
if (url.isLocalFile())
|
if (url.isLocalFile())
|
||||||
{
|
{
|
||||||
QString suffix = QFileInfo(qImagePath).suffix().toLower();
|
QString suffix = QFileInfo(qImagePath).suffix().toLower();
|
||||||
QString qLocalImagePath = url.toLocalFile();
|
QString qLocalImagePath = url.toString(QUrl::PreferLocalFile);
|
||||||
|
|
||||||
if (suffix == "svg")
|
if (suffix == "svg")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue