summaryrefslogtreecommitdiffstats
path: root/kdeprint/messagewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/messagewindow.cpp')
-rw-r--r--kdeprint/messagewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeprint/messagewindow.cpp b/kdeprint/messagewindow.cpp
index 5504fa411..77931d165 100644
--- a/kdeprint/messagewindow.cpp
+++ b/kdeprint/messagewindow.cpp
@@ -55,13 +55,13 @@ MessageWindow::MessageWindow( const TQString& txt, int delay, TQWidget *parent,
MessageWindow::~MessageWindow()
{
- m_windows.remove( tqparentWidget() );
+ m_windows.remove( parentWidget() );
}
void MessageWindow::slotTimer()
{
- TQSize psz = tqparentWidget()->size(), sz = tqsizeHint();
- move( tqparentWidget()->mapToGlobal( TQPoint( (psz.width()-sz.width())/2, (psz.height()-sz.height())/2 ) ) );
+ TQSize psz = parentWidget()->size(), sz = tqsizeHint();
+ move( parentWidget()->mapToGlobal( TQPoint( (psz.width()-sz.width())/2, (psz.height()-sz.height())/2 ) ) );
if ( !isVisible() )
{
show();