Skip to content

Commit 4c302ec

Browse files
committed
version bump
1 parent 53ac305 commit 4c302ec

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ int main(int argc, char* argv[]) {
2525
freopen("CONOUT$", "w", stderr);
2626

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

2930
QApplication app(argc, argv);
3031

src/ui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ MainWindow::MainWindow() {
9898
setMenuBar(menuBar);
9999

100100
setWindowFlags(Qt::WindowStaysOnTopHint);
101-
setWindowTitle("Solidify 1.30");
101+
setWindowTitle(QString("Solidify %1.%2.%3").arg(VERSION_MAJOR).arg(VERSION_MINOR));
102102
setFixedSize(440, 440);
103103

104104
// Add a flag to indicate whether the console has been allocated

src/ui.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
#include "processing.h"
2525

26+
#define VERSION_MAJOR 1
27+
#define VERSION_MINOR 30
28+
2629
class DropArea : public QLabel {
2730
Q_OBJECT // Macro needed to handle signals and slots
2831

0 commit comments

Comments
 (0)