Skip to content

Commit

Permalink
v2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgeoisLab committed Sep 30, 2023
1 parent 70c2e83 commit ad3bc33
Show file tree
Hide file tree
Showing 14 changed files with 1,270 additions and 1,206 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

## Version 2.6.1 (in Entwicklung)
- Neu: Einzelne Änderungen lassen sich rückgängig machen (noch nicht durchgängig)
## Version 2.6.1 (30.09.2023)
- Neu: Änderungen in Eingabefelder lassen sich rückgängig machen (nicht durchgängig implementiert)
- Fix: Absturz bei leeren Diagrammen (Gärverlauf)
- Fix: Verdünnungswerte beim Sud kopieren zurücksetzen
- Fix: Dekoktion überarbeitet
Expand Down
2 changes: 1 addition & 1 deletion deployment/linux/64bit/deb/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: kleiner-brauhelfer-2
Version: 2.6.0
Version: 2.6.1
Section: misc
Architecture: amd64
Maintainer: kleiner-brauhelfer <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion deployment/win/64bit/setup.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "kleiner-brauhelfer-2"
#define MyAppVersion "2.6.0"
#define MyAppVersion "2.6.1"
#define MyAppPublisher "kleiner-brauhelfer"
#define MyAppURL "http://kleiner-brauhelfer.github.io"
#define MyAppExeName "kleiner-brauhelfer-2.exe"
Expand Down
2 changes: 1 addition & 1 deletion kleiner-brauhelfer-core/kleiner-brauhelfer-core.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ VER_MAJ = 2
# Datenbankversion
VER_MIN = 9
# Patchversion
VER_PAT = 0
VER_PAT = 1

VERSION = $$sprintf("%1.%2.%3", $$VER_MAJ, $$VER_MIN, $$VER_PAT)
DEFINES += VER_MAJ=\"$$VER_MAJ\" VER_MIN=\"$$VER_MIN\" VER_PAT=\"$$VER_PAT\"
Expand Down
7 changes: 6 additions & 1 deletion kleiner-brauhelfer-core/kleiner-brauhelfer-core_global.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#ifndef KLEINERBRAUHELFERCORE_GLOBAL_H
#define KLEINERBRAUHELFERCORE_GLOBAL_H

#include <QtCore/qglobal.h>
#ifdef QT_CORE_LIB
# include <QtCore/qglobal.h>
#else
# define Q_DECL_EXPORT __declspec(dllexport)
# define Q_DECL_IMPORT __declspec(dllimport)
#endif

#if defined(KLEINERBRAUHELFERCORE_LIBRARY_STATIC)
# define LIB_EXPORT
Expand Down
3 changes: 1 addition & 2 deletions kleiner-brauhelfer/commands/setmodeldatacommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@ SetModelDataCommand::SetModelDataCommand(QAbstractItemModel *model, int row, int
newValue(value)
{
prevValue = model->index(row,col).data();
QObject::connect(model, &QObject::destroyed, [this](){setObsolete(true);});
}

void SetModelDataCommand::undo()
{
// TODO: model may be deleted
model->setData(model->index(row,col), prevValue);
}

void SetModelDataCommand::redo()
{
// TODO: model may be deleted
model->setData(model->index(row,col), newValue);
}

Expand Down
2 changes: 1 addition & 1 deletion kleiner-brauhelfer/kleiner-brauhelfer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TARGET = kleiner-brauhelfer-2

VER_MAJ = 2
VER_MIN = 6
VER_PAT = 0
VER_PAT = 1
VERSION = $$sprintf("%1.%2.%3", $$VER_MAJ, $$VER_MIN, $$VER_PAT)
DEFINES += VER_MAJ=\"$$VER_MAJ\" VER_MIN=\"$$VER_MIN\" VER_PAT=\"$$VER_PAT\"

Expand Down
Binary file modified kleiner-brauhelfer/translations/kbh_en.qm
Binary file not shown.
Loading

0 comments on commit ad3bc33

Please sign in to comment.