summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Preview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmahjongg/Preview.cpp')
-rw-r--r--kmahjongg/Preview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmahjongg/Preview.cpp b/kmahjongg/Preview.cpp
index d775eda5..f6ff021a 100644
--- a/kmahjongg/Preview.cpp
+++ b/kmahjongg/Preview.cpp
@@ -52,7 +52,7 @@ void Preview::selectionChanged(int which)
{
m_selectedFile = m_fileList[which];
drawPreview();
- m_drawFrame->tqrepaint(0,0,-1,-1,false);
+ m_drawFrame->repaint(0,0,-1,-1,false);
markChanged();
}
@@ -162,7 +162,7 @@ void Preview::load() {
if ( !url.isEmpty() ) {
m_selectedFile = url.path();
drawPreview();
- m_drawFrame->tqrepaint(0,0,-1,-1,false);
+ m_drawFrame->repaint(0,0,-1,-1,false);
markChanged();
}
}
@@ -255,7 +255,7 @@ void Preview::drawPreview()
}
void Preview::paintEvent( TQPaintEvent* ){
- m_drawFrame->tqrepaint(false);
+ m_drawFrame->repaint(false);
}
// the user selected ok, or apply. This method passes the changes