diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 10:29:28 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 10:29:28 +0200 |
commit | 1ae5e36baf1ee73c4ba1149a3f2d04942cb71f0f (patch) | |
tree | 8a9354bad67311b96198455b5b3f392acc90682b /src/gui/text/qcssparser.cpp | |
parent | f67b8df3ebdba2d398b9cce686b7c644adffff08 (diff) |
make the new QtGui compile
Diffstat (limited to 'src/gui/text/qcssparser.cpp')
-rw-r--r-- | src/gui/text/qcssparser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/text/qcssparser.cpp b/src/gui/text/qcssparser.cpp index 052dc72b63..8eb68be207 100644 --- a/src/gui/text/qcssparser.cpp +++ b/src/gui/text/qcssparser.cpp @@ -1275,6 +1275,8 @@ void ValueExtractor::extractFont() bool ValueExtractor::extractImage(QIcon *icon, Qt::Alignment *a, QSize *size) { bool hit = false; +#if 0 + // ### Qt5 for (int i = 0; i < declarations.count(); ++i) { const Declaration &decl = declarations.at(i); switch (decl.d->propertyId) { @@ -1295,6 +1297,7 @@ bool ValueExtractor::extractImage(QIcon *icon, Qt::Alignment *a, QSize *size) } hit = true; } +#endif return hit; } @@ -1643,6 +1646,8 @@ void Declaration::borderImageValue(QString *image, int *cuts, *h = *v; } +#if 0 +// ### Qt 5 QIcon Declaration::iconValue() const { if (d->parsed.isValid()) @@ -1689,6 +1694,7 @@ QIcon Declaration::iconValue() const d->parsed = QVariant::fromValue<QIcon>(icon); return icon; } +#endif /////////////////////////////////////////////////////////////////////////////// // Selector |