mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
remove resource system leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
1f543bd07d
commit
9110484400
1 changed files with 1 additions and 3 deletions
|
@ -181,9 +181,7 @@ void QSvgIconEngine::addFile(const QString &fileName, const QSize &,
|
|||
QIcon::Mode mode, QIcon::State state)
|
||||
{
|
||||
if (!fileName.isEmpty()) {
|
||||
QString abs = fileName;
|
||||
if (fileName.at(0) != QLatin1Char(':'))
|
||||
abs = QFileInfo(fileName).absoluteFilePath();
|
||||
QString abs = QFileInfo(fileName).absoluteFilePath();
|
||||
if (abs.endsWith(QLatin1String(".svg"), Qt::CaseInsensitive)
|
||||
|| abs.endsWith(QLatin1String(".svgz"), Qt::CaseInsensitive)
|
||||
|| abs.endsWith(QLatin1String(".svg.gz"), Qt::CaseInsensitive))
|
||||
|
|
Loading…
Add table
Reference in a new issue