Skip to content

Commit

Permalink
Whitespace nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
gperciva committed Dec 5, 2023
1 parent 9398ddb commit 2d9ec04
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Tarsnap.pro
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ DISTFILES += \
DISTFILES += .clang-format

# Handle translations
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts

qtPrepareTool(LRELEASE, lrelease)
Expand Down Expand Up @@ -305,12 +305,12 @@ osx {
INFO_PLIST_PATH = $$shell_quote($${OUT_PWD}/$${TARGET}.app/Contents/Info.plist)
# Add (empty) version strings to the Info.plist. This will print a warning
# if the keys already exist; but it's only a warning, not an error!
QMAKE_POST_LINK += /usr/libexec/PlistBuddy \
QMAKE_POST_LINK += /usr/libexec/PlistBuddy \
-c \"Merge util/version-blank.plist.in\" $${INFO_PLIST_PATH} ;
# Replace those version strings with the real ones.
QMAKE_POST_LINK += /usr/libexec/PlistBuddy \
-c \"Set :CFBundleVersionString string $${VERSION}\" \
-c \"Set :CFBundleShortVersionString string $${VERSION}\" \
QMAKE_POST_LINK += /usr/libexec/PlistBuddy \
-c \"Set :CFBundleVersionString string $${VERSION}\" \
-c \"Set :CFBundleShortVersionString string $${VERSION}\" \
$${INFO_PLIST_PATH} ;
}

Expand Down Expand Up @@ -339,7 +339,7 @@ for(D, buildtests) {
}

test.commands = @echo "Compiling tests..."; \
for D in $${UNIT_TESTS} $${BUILD_ONLY_TESTS}; do \
for D in $${UNIT_TESTS} $${BUILD_ONLY_TESTS}; do \
(cd \$\${D} && \${MAKE} -s); \
err=\$\$?; \
if \[ \$\${err} -gt "0" \]; then \
Expand Down
4 changes: 2 additions & 2 deletions build-flags.pri
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ if(checkVersionAtLeast(5,8)) {
QMAKE_CXXFLAGS += -isystem $$shell_quote($$[QT_INSTALL_HEADERS])
for(module, QT) {
equals(module, "testlib") {
QMAKE_CXXFLAGS += \
QMAKE_CXXFLAGS += \
-isystem $$shell_quote($$[QT_INSTALL_HEADERS]/QtTest)
} else {
# Capitalize a first letter, result: -isystem .../include/QtCore
moduleList = $$split(module, )
QMAKE_CXXFLAGS += \
QMAKE_CXXFLAGS += \
-isystem $$shell_quote($$[QT_INSTALL_HEADERS]/Qt$$upper(\
$$take_first(moduleList))$$join(moduleList, ))
}
Expand Down
2 changes: 1 addition & 1 deletion tests/app-cmdline/test-app-cmdline.pro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ HEADERS += \

RESOURCES += ../../resources/resources-lite.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts

include(../tests-include.pri)
Expand Down
4 changes: 2 additions & 2 deletions tests/app-setup/test-app-setup.pro
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ HEADERS += \

RESOURCES += \
../../lib/resources/lib-resources.qrc \
../../resources/resources.qrc
../../resources/resources.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts

include(../tests-include.pri)
Expand Down
2 changes: 1 addition & 1 deletion tests/cli/Tarsnap.pro
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ HEADERS += \

RESOURCES += ../../resources/resources-lite.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts


Expand Down
1 change: 0 additions & 1 deletion tests/customfilesystemmodel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ each file contains:
unchecked, `1` partially checked, or `2` checked?

For now, the number of tests must be defined in `scenario-num.h`.

1 change: 0 additions & 1 deletion tests/jobstabwidget/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
test-jobstabwidget
test-jobstabwidget.app

1 change: 0 additions & 1 deletion tests/settingswidget/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
test-settingswidget
test-settingswidget.app

0 comments on commit 2d9ec04

Please sign in to comment.