Prepared to move for dbus implementation
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@77 cac9541e-1b8d-4bfa-827e-589bba606050
This commit is contained in:
+2
-2
@@ -313,14 +313,14 @@ void MainWindow::onMenuPrintPreview()
|
||||
if( !cdscene )
|
||||
return;
|
||||
|
||||
QLightScribe::PrintParameters params;
|
||||
PrintParameters params;
|
||||
params.m_labelMode = cdscene->labelMode();
|
||||
QLightDrive *drive = QDialogPrint::exec( this, params );
|
||||
if( !drive )
|
||||
return;
|
||||
|
||||
try {
|
||||
QPixmap pixmap = QLightScribe::instance()->preview( drive, params, cdscene, QSize( 400, 400 ) );
|
||||
QPixmap pixmap = drive->preview( params, cdscene, QSize( 400, 400 ) );
|
||||
|
||||
QLabel *label = new QLabel;
|
||||
label->setPixmap( pixmap );
|
||||
|
||||
Reference in New Issue
Block a user