Skip to content

Commit

Permalink
Fix build of skin_generator: no explicit QString->QDir conversation
Browse files Browse the repository at this point in the history
If code compiles with "-DQT_USE_QSTRINGBUILDER" (for more fast QString
concantation) then code with implicit QString -> QDir conversation
cause compile time error.
  • Loading branch information
Dushistov authored and tatiana-yan committed Mar 22, 2021
1 parent 5a396fa commit 5b88872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skin_generator/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void SkinGenerator::ProcessSymbols(std::string const & svgDataDir,
QDir dir(QString(svgDataDir.c_str()));
QStringList fileNames = dir.entryList(QDir::Files);

QDir pngDir = dir.absolutePath() + "/png";
QDir pngDir(dir.absolutePath() + "/png");
fileNames += pngDir.entryList(QDir::Files);

// Separate page for symbols.
Expand Down

0 comments on commit 5b88872

Please sign in to comment.