Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ssh4net committed Jun 5, 2023
1 parent 53ac305 commit 4c302ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int main(int argc, char* argv[]) {
freopen("CONOUT$", "w", stderr);

ShowWindow(GetConsoleWindow(), SW_HIDE);
qDebug() << qPrintable(QString("Solidify %1.%2").arg(VERSION_MAJOR).arg(VERSION_MINOR)) << "Debug output:";

QApplication app(argc, argv);

Expand Down
2 changes: 1 addition & 1 deletion src/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ MainWindow::MainWindow() {
setMenuBar(menuBar);

setWindowFlags(Qt::WindowStaysOnTopHint);
setWindowTitle("Solidify 1.30");
setWindowTitle(QString("Solidify %1.%2.%3").arg(VERSION_MAJOR).arg(VERSION_MINOR));
setFixedSize(440, 440);

// Add a flag to indicate whether the console has been allocated
Expand Down
3 changes: 3 additions & 0 deletions src/ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

#include "processing.h"

#define VERSION_MAJOR 1
#define VERSION_MINOR 30

class DropArea : public QLabel {
Q_OBJECT // Macro needed to handle signals and slots

Expand Down

0 comments on commit 4c302ec

Please sign in to comment.