mirror of
https://git.code.sf.net/p/zint/code
synced 2026-02-01 08:15:57 +00:00
don't need scale factor when render, we can scale the scene or the view.
This commit is contained in:
@@ -59,7 +59,6 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags fl)
|
||||
connect(heightb, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(widthb, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(security, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(scaleFactor, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(bwidth, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(codewords, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
connect(iwidth, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
|
||||
@@ -89,7 +88,6 @@ void MainWindow::on_bgcolor_clicked()
|
||||
void MainWindow::on_generate_clicked()
|
||||
{
|
||||
QString error;
|
||||
m_bc.scaleFactor=scaleFactor->value();
|
||||
m_bc.w=iwidth->value();
|
||||
m_bc.h=iheight->value();
|
||||
m_bc.bc.setText(text->toPlainText());
|
||||
|
||||
Reference in New Issue
Block a user