mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-16 14:27:16 +02:00
chore: remove maybe_unused
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> (cherry picked from commit 213963257cf2b2f7a265893c3112cd71bbce6199)
This commit is contained in:
parent
6f5d074b4b
commit
0ec3b9ce0e
@ -97,7 +97,7 @@ bool IndirectOpen(T callable, qint64* pid_forked = nullptr)
|
||||
#endif
|
||||
|
||||
namespace DesktopServices {
|
||||
bool openPath(const QFileInfo& path, [[maybe_unused]] bool ensureExists)
|
||||
bool openPath(const QFileInfo& path, bool ensureExists)
|
||||
{
|
||||
qDebug() << "Opening path" << path;
|
||||
if (ensureExists) {
|
||||
@ -106,7 +106,7 @@ bool openPath(const QFileInfo& path, [[maybe_unused]] bool ensureExists)
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user