Commit 85fbf58c authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

KDE paste: Fix compilation with Qt 4.7.

Change-Id: I0348066272d4753442371e16dc56db56aa742b0d
Reviewed-by: default avatarBill King <>
parent 332ea081
......@@ -220,7 +220,11 @@ static inline QStringList parseList(QIODevice *device)
QXmlStreamReader reader(device);
const QString pasteElementPrefix = QLatin1String("paste_");
while (!reader.atEnd()) {
#if QT_VERSION >= 0x040800
if (reader.readNext() == QXmlStreamReader::StartElement &&
if (reader.readNext() == QXmlStreamReader::StartElement &&
return result;
Markdown is supported
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