Skip to content
Commit 7ff34b7b authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove Designer's "." normaloff file data from icon properties in .ui files

Qt Designer (accidentally) injected "." file names as fallback when
setting theme icon names, which then results in generated code like:
    QIcon icon;
    QString iconThemeName = QString::fromUtf8("edit-paste");
    if (QIcon::hasThemeIcon(iconThemeName)) {
        icon = QIcon::fromTheme(iconThemeName);
    } else {
        icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Normal, QIcon::Off);
    }
Such a "." file name is not documented to serve any purpose, just results
in failing icon lookup.

See QTBUG-115333.

NO_CHANGELOG
parent 13e4dc69
Pipeline #440783 passed with stage
in 22 minutes and 30 seconds
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