Fix unused parameter warning

Task-number: QTBUG-68804
Change-Id: Id40ea045237e5ceafc04d86629f2264eecc084c1
Reviewed-by: Liang Qi <liang.qi@qt.io>
bb10
Robert Griebl 2018-06-13 23:20:30 +02:00 committed by Jan Grulich
parent 2f5c9ae576
commit e7fbb9f242
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,8 @@ static inline bool flatpakOpenFile(const QUrl &url)
QDBusPendingReply<QDBusObjectPath> reply = QDBusConnection::sessionBus().call(message);
return !reply.isError();
}
#else
Q_UNUSED(url)
#endif
return false;