Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
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
Container 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
Nheko Reborn
nheko
Commits
22d0f50e
Commit
22d0f50e
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Add option for the default font size
parent
0ed23506
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
src/main.cc
+7
-1
7 additions, 1 deletion
src/main.cc
with
8 additions
and
2 deletions
README.md
+
1
−
1
View file @
22d0f50e
...
...
@@ -74,7 +74,7 @@ encouraged to open feature request issues.
Here is a screen shot to get a feel for the UI, but things will probably change.


### Third party
...
...
This diff is collapsed.
Click to expand it.
src/main.cc
+
7
−
1
View file @
22d0f50e
...
...
@@ -41,7 +41,13 @@ int main(int argc, char *argv[])
app
.
setWindowIcon
(
QIcon
(
":/logos/nheko.png"
));
QFont
font
(
"Open Sans"
);
QSettings
settings
;
// Set the default if a value has not been set.
if
(
settings
.
value
(
"font/size"
).
toInt
()
==
0
)
settings
.
setValue
(
"font/size"
,
12
);
QFont
font
(
"Open Sans"
,
settings
.
value
(
"font/size"
).
toInt
());
app
.
setFont
(
font
);
QString
lang
=
QLocale
::
system
().
name
();
...
...
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