diff options
Diffstat (limited to 'kexi/main/printing/kexisimpleprintpreviewwindow.cpp')
-rw-r--r-- | kexi/main/printing/kexisimpleprintpreviewwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp index eb415262..11d9e939 100644 --- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp +++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp @@ -120,7 +120,7 @@ void KexiSimplePrintPreviewScrollView::setFullWidth() // int constantWidth = m_window->width()- KexiSimplePrintPreviewScrollView_MARGIN*6; double constantWidth = width()- KexiSimplePrintPreviewScrollView_MARGIN*6; double heightForWidth = constantWidth * heightMM / widthMM; -// heightForWidth = TQMIN(kapp->desktop()->height()*4/5, heightForWidth); +// heightForWidth = TQMIN(tdeApp->desktop()->height()*4/5, heightForWidth); kdDebug() << "1: " << heightForWidth << endl; #if 0 //todo we can use this if we want to fix the height to width of the page heightForWidth = TQMIN(height(), heightForWidth); @@ -232,7 +232,7 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow( m_navToolbar->addConnection(m_idLast, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLastClicked())); m_navToolbar->insertSeparator(); - resize(width(), kapp->desktop()->height()*4/5); + resize(width(), tdeApp->desktop()->height()*4/5); //! @todo progress bar... |