Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
K3b
Commits
88d5782e
Commit
88d5782e
authored
Jul 04, 2021
by
Albert Astals Cid
Browse files
Menu: Get bluray sizes from k3b itself instead of hardcoding
BUGS: 439475
parent
dff837e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/projects/k3bfillstatusdisplay.cpp
View file @
88d5782e
...
...
@@ -422,9 +422,9 @@ void K3b::FillStatusDisplay::setupPopupMenu()
d
->
actionDvdDoubleLayer
=
K3b
::
createToggleAction
(
this
,
KIO
::
convertSizeFromKiB
((
int
)(
8.0
*
1024.0
*
1024.0
)),
0
,
0
,
this
,
SLOT
(
slotDvdDoubleLayer
()),
d
->
actionCollection
,
"fillstatus_dvd_double_layer"
);
d
->
actionBD25
=
K3b
::
createToggleAction
(
this
,
KIO
::
convertSize
FromKiB
(
25
*
1024
*
1024
),
0
,
0
,
this
,
SLOT
(
slotBD25
()),
d
->
actionBD25
=
K3b
::
createToggleAction
(
this
,
KIO
::
convertSize
(
K3b
::
Msf
(
K3b
::
MediaSizeBluRay25Gb
).
mode1Bytes
()
),
0
,
0
,
this
,
SLOT
(
slotBD25
()),
d
->
actionCollection
,
"fillstatus_bd_25"
);
d
->
actionBD50
=
K3b
::
createToggleAction
(
this
,
KIO
::
convertSize
FromKiB
(
50
*
1024
*
1024
),
0
,
0
,
this
,
SLOT
(
slotBD50
()),
d
->
actionBD50
=
K3b
::
createToggleAction
(
this
,
KIO
::
convertSize
(
K3b
::
Msf
(
K3b
::
MediaSizeBluRay50Gb
).
mode1Bytes
()
),
0
,
0
,
this
,
SLOT
(
slotBD50
()),
d
->
actionCollection
,
"fillstatus_bd_50"
);
d
->
actionCustomSize
=
K3b
::
createAction
(
this
,
i18n
(
"Custom..."
),
0
,
0
,
this
,
SLOT
(
slotCustomSize
()),
...
...
Write
Preview
Supports
Markdown
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