Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
4d29e11c
Commit
4d29e11c
authored
1 year ago
by
Kateryna Kostiuk
Browse files
Options
Downloads
Patches
Plain Diff
macOS: fix build for App Store
Change-Id: Ibd7949810559640bb41d6c0ca796c5db9b7dca91
parent
f67a181e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/app/appsettingsmanager.h
+1
-1
1 addition, 1 deletion
src/app/appsettingsmanager.h
src/app/main.cpp
+2
-2
2 additions, 2 deletions
src/app/main.cpp
src/app/tipsmodel.cpp
+1
-1
1 addition, 1 deletion
src/app/tipsmodel.cpp
src/app/utilsadapter.cpp
+1
-1
1 addition, 1 deletion
src/app/utilsadapter.cpp
with
5 additions
and
5 deletions
src/app/appsettingsmanager.h
+
1
−
1
View file @
4d29e11c
...
...
@@ -76,7 +76,7 @@ extern const QString defaultDownloadPath;
X(EnablePtt, false) \
X(PttKeys, 32) \
X(UseFramelessWindow, USE_FRAMELESS_WINDOW_DEFAULT)
#if
def
APPSTORE
#if APPSTORE
#define KEYS COMMON_KEYS
#else
// Additional key-value pairs for non-APPSTORE builds including donation
...
...
This diff is collapsed.
Click to expand it.
src/app/main.cpp
+
2
−
2
View file @
4d29e11c
...
...
@@ -28,7 +28,7 @@
#include
<QApplication>
#include
<QCryptographicHash>
#include
<QtQuick>
#if
def
WITH_WEBENGINE
#if WITH_WEBENGINE
#include
<QtWebEngineCore>
#include
<QtWebEngineQuick>
#endif
...
...
@@ -74,7 +74,7 @@ main(int argc, char* argv[])
QApplication
::
setHighDpiScaleFactorRoundingPolicy
(
Qt
::
HighDpiScaleFactorRoundingPolicy
::
PassThrough
);
#if
def
WITH_WEBENGINE
#if WITH_WEBENGINE
qputenv
(
"QTWEBENGINE_CHROMIUM_FLAGS"
,
"--disable-web-security"
" --single-process"
);
...
...
This diff is collapsed.
Click to expand it.
src/app/tipsmodel.cpp
+
1
−
1
View file @
4d29e11c
...
...
@@ -75,7 +75,7 @@ TipsModel::reset()
beginResetModel
();
tips_
.
clear
();
#if
ndef
APPSTORE
#if
!
APPSTORE
QDate
date
=
QDate
::
currentDate
();
if
(
date
>=
QDate
::
fromString
(
"2023-11-27"
,
"yyyy-MM-dd"
))
{
tips_
.
append
({{
"id"
,
"14"
},
{
"title"
,
tr
(
"Donate"
)},
{
"desc"
,
""
},
{
"type"
,
"donation"
}});
...
...
This diff is collapsed.
Click to expand it.
src/app/utilsadapter.cpp
+
1
−
1
View file @
4d29e11c
...
...
@@ -96,7 +96,7 @@ UtilsAdapter::setAppValue(const Settings::Key key, const QVariant& value)
Q_EMIT
appThemeChanged
();
else
if
(
key
==
Settings
::
Key
::
UseFramelessWindow
)
Q_EMIT
useFramelessWindowChanged
();
#if
ndef
APPSTORE
#if
!
APPSTORE
// Any donation campaign-related keys can trigger a donation campaign check
else
if
(
key
==
Settings
::
Key
::
IsDonationVisible
||
key
==
Settings
::
Key
::
Donation2023VisibleDate
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment