Commit 88d5782e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Menu: Get bluray sizes from k3b itself instead of hardcoding

BUGS: 439475
parent dff837e3
......@@ -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::convertSizeFromKiB( 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::convertSizeFromKiB( 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()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment