Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
leap
bitmask-vpn
Commits
4f41965d
Unverified
Commit
4f41965d
authored
3 years ago
by
Kali Kaneko
Browse files
Options
Downloads
Patches
Plain Diff
[ui] size tweaks
parent
539010ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#69796
failed
3 years ago
Stage: build
Stage: debian
Stage: vendor
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gui/components/Preferences.qml
+12
-10
12 additions, 10 deletions
gui/components/Preferences.qml
gui/main.cpp
+1
-0
1 addition, 0 deletions
gui/main.cpp
with
13 additions
and
10 deletions
gui/components/Preferences.qml
+
12
−
10
View file @
4f41965d
...
...
@@ -54,7 +54,7 @@ ThemedPage {
Label
{
text
:
qsTr
(
"
These techniques can bypass censorship, but are slower. Use them only when needed.
"
)
color
:
"
gray
"
color
:
Material
.
foreground
visible
:
true
wrapMode
:
Text
.
Wrap
font.pixelSize
:
Theme
.
fontSize
-
3
...
...
@@ -94,14 +94,15 @@ ThemedPage {
Label
{
text
:
qsTr
(
"
Traffic is obfuscated to bypass blocks
"
)
color
:
"
gray
"
color
:
useBridgesCheckBox
.
enabled
?
Material
.
foreground
:
Material
.
hintTextColor
visible
:
true
wrapMode
:
Text
.
Wrap
font.pixelSize
:
Theme
.
fontSize
-
4
Layout.leftMargin
:
3
5
font.pixelSize
:
Theme
.
fontSize
-
5
Layout.leftMargin
:
3
6
Layout.rightMargin
:
15
Layout.bottomMargin
:
5
Layout.preferredWidth
:
240
Layout.topMargin
:
-
5
Layout.preferredWidth
:
220
}
MaterialCheckBox
{
...
...
@@ -122,14 +123,15 @@ ThemedPage {
Label
{
text
:
qsTr
(
"
Snowflake needs Tor installed in your system
"
)
color
:
"
gray
"
color
:
useSnowflake
.
enabled
?
Material
.
foreground
:
Material
.
hintTextColor
visible
:
true
wrapMode
:
Text
.
Wrap
font.pixelSize
:
Theme
.
fontSize
-
4
Layout.leftMargin
:
3
5
font.pixelSize
:
Theme
.
fontSize
-
5
Layout.leftMargin
:
3
6
Layout.rightMargin
:
15
Layout.bottomMargin
:
5
Layout.preferredWidth
:
240
Layout.topMargin
:
-
5
Layout.preferredWidth
:
220
}
Label
{
...
...
@@ -143,7 +145,7 @@ ThemedPage {
Label
{
text
:
qsTr
(
"
UDP can make the VPN faster. It might be blocked on some networks.
"
)
width
:
parent
.
width
color
:
"
gray
"
color
:
Material
.
foreground
visible
:
true
wrapMode
:
Text
.
Wrap
font.pixelSize
:
Theme
.
fontSize
-
3
...
...
This diff is collapsed.
Click to expand it.
gui/main.cpp
+
1
−
0
View file @
4f41965d
...
...
@@ -116,6 +116,7 @@ int main(int argc, char **argv) {
});
QCommandLineOption
webPortOption
(
"web-port"
,
QApplication
::
translate
(
"main"
,
"Web API port (default: 8080)"
),
"port"
,
"8080"
);
parser
.
addOption
(
webPortOption
);
// FIXME need to add note for the translation, on/off shouldn't be translated.
QCommandLineOption
startVPNOption
(
"start-vpn"
,
QApplication
::
translate
(
"main"
,
"Start the VPN, either 'on' or 'off'."
),
"status"
,
""
);
parser
.
addOption
(
startVPNOption
);
parser
.
process
(
app
);
...
...
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