diff options
Diffstat (limited to 'kuiviewer/kuiviewer.cpp')
-rw-r--r-- | kuiviewer/kuiviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp index f2ae01cb..b710ce95 100644 --- a/kuiviewer/kuiviewer.cpp +++ b/kuiviewer/kuiviewer.cpp @@ -153,11 +153,11 @@ void KUIViewer::takeScreenshot(const TQCString &filename, int w, int h){ // resize widget to the desired size m_part->widget()->setMinimumSize(w, h); m_part->widget()->setMaximumSize(w, h); - m_part->widget()->repaint(); + m_part->widget()->tqrepaint(); // resize app to be as large as desired size adjustSize(); // Disable the saving of the size - setAutoSaveSettings(TQString::fromLatin1("MainWindow"), false); + setAutoSaveSettings(TQString::tqfromLatin1("MainWindow"), false); } TQPixmap pixmap = TQPixmap::grabWidget( m_part->widget() ); pixmap.save( filename, "PNG" ); |