Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
attic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
hydrargyrum
attic
Commits
ef565f7d
Commit
ef565f7d
authored
Oct 24, 2020
by
hydrargyrum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qr-shot: when encoding text, force white background for scanners
parent
18daf800
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
qr-shot/qrshot.py
qr-shot/qrshot.py
+2
-0
No files found.
qr-shot/qrshot.py
View file @
ef565f7d
...
...
@@ -298,6 +298,8 @@ class Window(QMainWindow):
if
QMessageBox
.
question
(
self
,
'Warning'
,
'The text entered is quite large, this could make the app crash. Continue anyway?'
,
QMessageBox
.
Yes
|
QMessageBox
.
No
)
!=
QMessageBox
.
Yes
:
return
pix
=
encodeText
(
text
)
self
.
cropper
.
setStyleSheet
(
'*{background: white;}'
)
self
.
setPixmap
(
pix
)
def
setPixmap
(
self
,
pix
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment