chore: remove maybe_unused

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-12-16 13:03:51 +01:00
parent 0ccdcd23e3
commit 213963257c
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -97,7 +97,7 @@ bool IndirectOpen(T callable, qint64* pid_forked = nullptr)
#endif #endif
namespace DesktopServices { namespace DesktopServices {
bool openPath(const QFileInfo& path, [[maybe_unused]] bool ensureExists) bool openPath(const QFileInfo& path, bool ensureExists)
{ {
qDebug() << "Opening path" << path; qDebug() << "Opening path" << path;
if (ensureExists) { if (ensureExists) {
@ -106,7 +106,7 @@ bool openPath(const QFileInfo& path, [[maybe_unused]] bool ensureExists)
return openUrl(QUrl::fromLocalFile(QFileInfo(path).absolutePath())); return openUrl(QUrl::fromLocalFile(QFileInfo(path).absolutePath()));
} }
bool openPath(const QString& path, [[maybe_unused]] bool ensureExists) bool openPath(const QString& path, bool ensureExists)
{ {
return openPath(QFileInfo(path), ensureExists); return openPath(QFileInfo(path), ensureExists);
} }