From: Shane Jaroch Date: Thu, 22 Jan 2026 00:48:14 +0000 (-0500) Subject: small lint; version bump & release tweak/fix X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=1f7e6eb7e81a4f0920088868062f00d0493c3697;p=nutratech%2Fgui.git small lint; version bump & release tweak/fix --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef4c207..e736917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,10 +167,10 @@ jobs: with: prerelease: ${{ steps.check_prerelease.outputs.is_prerelease }} files: | - nutra-linux-20.04/nutra - nutra-linux-22.04/nutra - nutra-linux-24.04/nutra - nutra-win64.exe/nutra.exe - nutra-macos.app/** + artifacts/nutra-linux-20.04/nutra + artifacts/nutra-linux-22.04/nutra + artifacts/nutra-linux-24.04/nutra + artifacts/nutra-win64.exe/nutra.exe + artifacts/nutra-macos.app/** env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 1714614..bbff782 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -96,5 +96,5 @@ jobs: echo "Bumping from $LATEST_TAG to $NEW_TAG" echo "NEW_TAG=$NEW_TAG" >> $GITHUB_ENV - git tag ${{ env.NEW_TAG }} - git push origin ${{ env.NEW_TAG }} + git tag $NEW_TAG + git push origin $NEW_TAG diff --git a/src/db/mealrepository.cpp b/src/db/mealrepository.cpp index 77a492f..3f98199 100644 --- a/src/db/mealrepository.cpp +++ b/src/db/mealrepository.cpp @@ -148,7 +148,6 @@ void MealRepository::removeLogEntry(int logId) { QSqlQuery query(db); query.prepare("DELETE FROM log_food WHERE id = ?"); query.addBindValue(logId); - query.addBindValue(logId); if (!query.exec()) { qCritical() << "Failed to remove log entry:" << query.lastError().text(); } diff --git a/src/widgets/dailylogwidget.cpp b/src/widgets/dailylogwidget.cpp index b0b9870..e2800fa 100644 --- a/src/widgets/dailylogwidget.cpp +++ b/src/widgets/dailylogwidget.cpp @@ -153,8 +153,8 @@ void DailyLogWidget::updateAnalysis() { if (pct > 100) { bar->setStyleSheet("QProgressBar::chunk { background-color: #8e44ad; }"); } else { - // Reset style (hacky, ideally use separate stylesheet) - // bar->setStyleSheet(""); + // Reset style + bar->setStyleSheet(""); } };