summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r--src/dialogs/qmessagebox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index ce6c505b0..96aabc066 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -1324,7 +1324,7 @@ void TQMessageBox::about( TQWidget *parent, const TQString &caption,
if ( pm && !pm->isNull() )
mb->setIconPixmap( *pm );
else {
- pm = qApp && qApp->mainWidget() ? qApp->mainWidget()->icon() : 0;
+ pm = tqApp && tqApp->mainWidget() ? tqApp->mainWidget()->icon() : 0;
if ( pm && !pm->isNull() )
mb->setIconPixmap( *pm );
}
@@ -1607,8 +1607,8 @@ void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption )
#ifndef QT_NO_IMAGEIO
TQPixmap pm;
TQImage logo( (const char **)qtlogo_xpm);
- if ( qGray(mb->palette().active().text().rgb()) >
- qGray(mb->palette().active().base().rgb()) )
+ if ( tqGray(mb->palette().active().text().rgb()) >
+ tqGray(mb->palette().active().base().rgb()) )
{
// light on dark, adjust some colors (where's 10?)
logo.setColor( 0, 0xffffffff );