Sat, 26 Mar 2022 19:48:37 +0100
Some code cleanup
src/PrinterDialog.cpp | file | annotate | diff | comparison | revisions | |
src/ProfileFerments.cpp | file | annotate | diff | comparison | revisions | |
src/ProfileMashs.cpp | file | annotate | diff | comparison | revisions | |
src/ProfileStyles.cpp | file | annotate | diff | comparison | revisions | |
src/ProfileWaters.cpp | file | annotate | diff | comparison | revisions | |
src/bmsapp.cpp | file | annotate | diff | comparison | revisions | |
src/bmsapp.h | file | annotate | diff | comparison | revisions |
--- a/src/PrinterDialog.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/PrinterDialog.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -65,7 +65,6 @@ const QStringList y_form({tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried")}); painter.begin(printer); - bool firstPage = true; qreal y = 0; if (p_job == PR_SUPPLIES) {
--- a/src/ProfileFerments.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/ProfileFerments.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -76,7 +76,6 @@ { QString w; QWidget* pWidget; - QLabel *label; QHBoxLayout* pLayout; qDebug() << "ProfileFerments reload";
--- a/src/ProfileMashs.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/ProfileMashs.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -76,7 +76,6 @@ { QString w; QWidget* pWidget; - QLabel *label; QHBoxLayout* pLayout; qDebug() << "ProfileMashs reload";
--- a/src/ProfileStyles.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/ProfileStyles.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -76,7 +76,6 @@ { QString w; QWidget* pWidget; - QLabel *label; QHBoxLayout* pLayout; qDebug() << "ProfileStyles reload";
--- a/src/ProfileWaters.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/ProfileWaters.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -76,7 +76,6 @@ { QString w; QWidget* pWidget; - QLabel *label; QHBoxLayout* pLayout; qDebug() << "ProfileWaters reload";
--- a/src/bmsapp.cpp Fri Mar 25 20:54:55 2022 +0100 +++ b/src/bmsapp.cpp Sat Mar 26 19:48:37 2022 +0100 @@ -15,6 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "bmsapp.h" +#include "database/database.h" #include "config.h" #include "MainWindow.h"
--- a/src/bmsapp.h Fri Mar 25 20:54:55 2022 +0100 +++ b/src/bmsapp.h Sat Mar 26 19:48:37 2022 +0100 @@ -38,7 +38,6 @@ #include "Utils.h" #include "PrinterDialog.h" -#include "database/database.h" typedef struct IniMySQL @@ -78,8 +77,6 @@ MainWindow* m_mainWindow; private: - /*static MainWindow* m_mainWindow;*/ - /** * @brief Ensure some directories and files exist. * @return true if all is ok.