From 5057208e5374a01f9bfcc75a1f8a8fe1d0780d4f Mon Sep 17 00:00:00 2001 From: Cubitect Date: Fri, 4 Jun 2021 00:36:44 +0200 Subject: [PATCH] Fixing resource location --- cubiomes | 2 +- cubiomes-viewer.pro | 8 ++++---- src/aboutdialog.h | 2 +- src/aboutdialog.ui | 6 +++--- src/configdialog.ui | 12 ++++++++++-- src/formsearchcontrol.ui | 8 ++++---- src/mainwindow.h | 1 - src/quadlistdialog.ui | 9 +++++++-- 8 files changed, 30 insertions(+), 18 deletions(-) diff --git a/cubiomes b/cubiomes index 4195eab..3a6a923 160000 --- a/cubiomes +++ b/cubiomes @@ -1 +1 @@ -Subproject commit 4195eab9860bfbb008b59230cc89ba5c03cadf1f +Subproject commit 3a6a923553eaf00145b5e162c9e37019e166ad98 diff --git a/cubiomes-viewer.pro b/cubiomes-viewer.pro index 14222a6..1d777f5 100644 --- a/cubiomes-viewer.pro +++ b/cubiomes-viewer.pro @@ -9,14 +9,14 @@ QT += core widgets LIBS += -lm $$PWD/cubiomes/libcubiomes.a +QMAKE_CFLAGS = -fwrapv +QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++11 +QMAKE_CXXFLAGS_RELEASE *= -O3 + win32: { LIBS += -static -static-libgcc -static-libstdc++ } -QMAKE_CFLAGS = -fwrapv -QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++11 -Wno-deprecated-copy -Wno-missing-field-initilizers -QMAKE_CXXFLAGS_RELEASE *= -O3 - TARGET = cubiomes-viewer #TEMPLATE = app diff --git a/src/aboutdialog.h b/src/aboutdialog.h index c682949..891b014 100644 --- a/src/aboutdialog.h +++ b/src/aboutdialog.h @@ -5,7 +5,7 @@ #define VERS_MAJOR 1 #define VERS_MINOR 6 -#define VERS_PATCH -1 // negative patch number designates a development version +#define VERS_PATCH 0 // negative patch number designates a development version // returns +1 if newer, -1 if older and 0 if equal inline int cmpVers(int major, int minor, int patch) diff --git a/src/aboutdialog.ui b/src/aboutdialog.ui index 7d03def..17c9dcf 100644 --- a/src/aboutdialog.ui +++ b/src/aboutdialog.ui @@ -6,7 +6,7 @@ 0 0 - 587 + 609 282 @@ -53,7 +53,7 @@ p, li { white-space: pre-wrap; } - :/icons/map.png + :/icons/map.png Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -63,7 +63,7 @@ p, li { white-space: pre-wrap; } - + diff --git a/src/configdialog.ui b/src/configdialog.ui index 3000467..9e64c66 100644 --- a/src/configdialog.ui +++ b/src/configdialog.ui @@ -2,11 +2,19 @@ ConfigDialog + + + 0 + 0 + 411 + 222 + + Preferences - + :/icons/map.png:/icons/map.png @@ -94,7 +102,7 @@ - + diff --git a/src/formsearchcontrol.ui b/src/formsearchcontrol.ui index 52b48eb..c6f32d8 100644 --- a/src/formsearchcontrol.ui +++ b/src/formsearchcontrol.ui @@ -175,7 +175,7 @@ - + :/icons/info.png:/icons/info.png @@ -254,7 +254,7 @@ Clear results - + :/icons/clear.png:/icons/clear.png @@ -265,7 +265,7 @@ Start search - + :/icons/search.png:/icons/search.png @@ -280,7 +280,7 @@ - + diff --git a/src/mainwindow.h b/src/mainwindow.h index bb3b391..27da209 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -31,7 +31,6 @@ Q_DECLARE_METATYPE(Pos) Q_DECLARE_METATYPE(Config) class MapView; -class Gen48Settings; class ProtoBaseDialog; class MainWindow : public QMainWindow diff --git a/src/quadlistdialog.ui b/src/quadlistdialog.ui index 4e2e086..3986076 100644 --- a/src/quadlistdialog.ui +++ b/src/quadlistdialog.ui @@ -14,7 +14,7 @@ Quad-Structure Scan - + :/icons/quad.png:/icons/quad.png @@ -172,6 +172,11 @@ 1.7 + + + 1.6 + + @@ -214,7 +219,7 @@ - +