[Kde-imaging] KDE/kdegraphics/libs/libksane/libksane
Kåre Särs
kare.sars at kolumbus.fi
Fri Nov 28 08:48:58 CET 2008
SVN commit 889970 by sars:
The preview (KSaneViewer) in sane_widget.cpp must be created before the options widget.
Thankyou Fabrice for noticing.
CCMAIL:kde-imaging at kde.org
M +6 -6 sane_widget.cpp
--- trunk/KDE/kdegraphics/libs/libksane/libksane/sane_widget.cpp #889969:889970
@@ -426,6 +426,12 @@
base_layout->addLayout(opt_lay, 0);
base_layout->addLayout(pr_layout, 100);
+ // create the preview
+ d->previewViewer = new KSaneViewer(this);
+ connect(d->previewViewer, SIGNAL(newSelection(float, float, float, float)),
+ this, SLOT(handleSelection(float, float, float, float)));
+ //d->previewViewer->setPixmap();
+
// Create Options Widget
d->optsWidget = new KTabWidget;
// Create the options interface
@@ -435,12 +441,6 @@
opt_lay->setSpacing(2);
opt_lay->setMargin(0);
- // create the preview
- d->previewViewer = new KSaneViewer(this);
- connect(d->previewViewer, SIGNAL(newSelection(float, float, float, float)),
- this, SLOT(handleSelection(float, float, float, float)));
- //d->previewViewer->setPixmap();
-
d->zInBtn = new QPushButton(this);
d->zInBtn->setIcon(KIcon("zoom-in"));
d->zInBtn->setToolTip(i18n("Zoom In"));
More information about the Kde-imaging
mailing list