diff options
Diffstat (limited to 'libkscan/previewer.cpp')
-rw-r--r-- | libkscan/previewer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp index 0da2140c..93538e34 100644 --- a/libkscan/previewer.cpp +++ b/libkscan/previewer.cpp @@ -119,10 +119,10 @@ Previewer::Previewer(TQWidget *parent, const char *name ) htop->addWidget( frame ); TQVBoxLayout *top = new TQVBoxLayout( frame, KDialog::marginHint(), KDialog::spacingHint() ); - tqlayout = new TQHBoxLayout( KDialog::spacingHint() ); - top->addLayout( tqlayout, 9 ); + layout = new TQHBoxLayout( KDialog::spacingHint() ); + top->addLayout( layout, 9 ); TQVBoxLayout *left = new TQVBoxLayout( KDialog::spacingHint() ); - tqlayout->addLayout( left, 2 ); + layout->addLayout( left, 2 ); /* Load autoselection values from Config file */ KConfig *cfg = KGlobal::config(); @@ -142,7 +142,7 @@ Previewer::Previewer(TQWidget *parent, const char *name ) img_canvas->setDefaultScaleKind( ImageCanvas::DYNAMIC ); img_canvas->enableContextMenu(true); img_canvas->repaint(); - tqlayout->addWidget( img_canvas, 6 ); + layout->addWidget( img_canvas, 6 ); /* Actions for the previewer zoom */ KAction *act; |