mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
QET is open without diagram, and tool bar are disabled.
Default properties is now a static method of the propertie class himself git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3400 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include "diagramschooser.h"
|
||||
#include "exportproperties.h"
|
||||
#include "exportpropertieswidget.h"
|
||||
#include "qetdiagrameditor.h"
|
||||
#include "qeticons.h"
|
||||
|
||||
/**
|
||||
@@ -253,7 +252,7 @@ void QETPrintPreviewDialog::build() {
|
||||
fit_diagram_to_page_ -> setChecked(true);
|
||||
|
||||
// recupere les parametres d'export definis dans la configuration de l'application
|
||||
ExportProperties default_print_properties = QETDiagramEditor::defaultPrintProperties();
|
||||
ExportProperties default_print_properties = ExportProperties::defaultPrintProperties();
|
||||
|
||||
render_properties_ = new ExportPropertiesWidget(default_print_properties);
|
||||
render_properties_ -> setPrintingMode(true);
|
||||
|
||||
Reference in New Issue
Block a user