Skip to content

Commit

Permalink
Moved marked-up license into resources
Browse files Browse the repository at this point in the history
- All four projects now use single shared resource file in SPIERScommon
- Also gone through entire project and randomly removed 2/3 of the comments - this will improve compile speed and result in less information overload for anyone reading the code. No one likes comments anyway.
  • Loading branch information
marksutton committed Oct 31, 2018
1 parent e94299f commit 5ab48d8
Show file tree
Hide file tree
Showing 11 changed files with 678 additions and 2,577 deletions.
3 changes: 2 additions & 1 deletion SPIERSalign/SPIERSalign.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ CONFIG += qt \
release \
warn_on

RESOURCES += align.qrc
RESOURCES += align.qrc \
../SPIERScommon/licenseresource.qrc

UI_DIR = build

Expand Down
643 changes: 9 additions & 634 deletions SPIERSalign/src/about.cpp

Large diffs are not rendered by default.

630 changes: 630 additions & 0 deletions SPIERScommon/LicenseWithMarkup.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions SPIERScommon/licenseresource.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/license">
<file alias="license">LicenseWithMarkup.txt</file>
</qresource>
</RCC>
3 changes: 2 additions & 1 deletion SPIERSedit/SPIERSedit.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ CONFIG += warn_on \
qt \
thread \

RESOURCES = SPIERSedit.qrc
RESOURCES = SPIERSedit.qrc \
../SPIERScommon/licenseresource.qrc

UI_DIR += ui

Expand Down
2 changes: 1 addition & 1 deletion SPIERSedit/SPIERSedit.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/">
<qresource prefix="/license">
<file>resources/gplv3-127x51.png</file>
<file>resources/Built_with_Qt_RGB_logo.png</file>
<file>resources/palaeoware_logo_square.png</file>
Expand Down
680 changes: 9 additions & 671 deletions SPIERSedit/src/dialogaboutimpl.cpp

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion SPIERSutility/SPIERSversion/SPIERSversion.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ CONFIG += qt \
release \
warn_on

RESOURCES = version.qrc
RESOURCES = version.qrc \
../../SPIERScommon/licenseresource.qrc

DESTDIR \
+= \
Expand Down
642 changes: 8 additions & 634 deletions SPIERSutility/SPIERSversion/src/aboutdialog.cpp

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion SPIERSview/SPIERSview.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ CONFIG += qt \
release \
warn_on

RESOURCES = view.qrc
RESOURCES = view.qrc \
../SPIERScommon/licenseresource.qrc

DESTDIR \
+= \
Expand Down
641 changes: 8 additions & 633 deletions SPIERSview/src/aboutdialog.cpp

Large diffs are not rendered by default.

0 comments on commit 5ab48d8

Please sign in to comment.