Unverified Commit bb16aae4 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

remove pointless endl on debug message

qCDebug() will add a newline at the end anyway.

CCMAIL:montel@kde.org
parent f276273a
......@@ -429,13 +429,7 @@ bool FloppyData::setInitialDevice(const QString& dev)
QDBusInterface mediamanager( QStringLiteral( "org.kde.kded" ), QStringLiteral( "/modules/mediamanager" ), QStringLiteral( "org.kde.MediaManager" ) );
QDBusReply<QStringList> reply = mediamanager.call( QStringLiteral( "properties" ), name );
if (!reply.isValid()) {
qCritical() << "Invalid reply from mediamanager"
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
;
qCritical() << "Invalid reply from mediamanager";
} else {
QStringList properties = reply;
newDevice = properties[5];
......
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