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:
ruglory
2009-02-22 05:31:38 +00:00
parent 2732500e95
commit 737b94e463
10 changed files with 123 additions and 379 deletions
+2 -2
View File
@@ -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 );