[libcalamares] Placeholder for KF6 automount DBus calls
This commit is contained in:
parent
5809b32c98
commit
01e7cf44c2
@ -42,8 +42,15 @@ struct AutoMountInfo
|
||||
static inline QDBusMessage
|
||||
kdedCall( const QString& method )
|
||||
{
|
||||
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||
return QDBusMessage::createMethodCall(
|
||||
QStringLiteral( "org.kde.kded5" ), QStringLiteral( "/kded" ), QStringLiteral( "org.kde.kded5" ), method );
|
||||
#else
|
||||
#warning KF6 Automount-handling is untested
|
||||
// This is definitely wrong until Plasma6 is released, and somebody tests it
|
||||
return QDBusMessage::createMethodCall(
|
||||
QStringLiteral( "org.kde.kded6" ), QStringLiteral( "/kded" ), QStringLiteral( "org.kde.kded6" ), method );
|
||||
#endif
|
||||
}
|
||||
|
||||
/** @brief Log a response from call()
|
||||
|
Loading…
Reference in New Issue
Block a user