Skip to content

Commit

Permalink
Removing Linux compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
medo64 committed Jan 8, 2021
1 parent a0769ec commit 17d0cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/medo/appsetupmutex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ AppSetupMutex::AppSetupMutex(const QString& mutexName) {
} else {
qDebug().noquote() << "[AppSetupMutex]" << mutexName << "could not be created";
}
#else
Q_UNUSED(mutexName)
#endif
}

Expand Down
1 change: 1 addition & 0 deletions src/medo/upgrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ bool Upgrade::showDialog(QWidget* parent, QUrl serviceUrl) {
QApplication::restoreOverrideCursor();
});
#else //just show Close button if not Windows
Q_UNUSED( buttonDownload )
buttonBox.setStandardButtons(QDialogButtonBox::Close);
#endif

Expand Down

0 comments on commit 17d0cdd

Please sign in to comment.