add __GNUC__ guards on the #warnings

svn path=/trunk/KDE/kdepim/; revision=677833
wilder-work
Allen Winter 19 years ago
parent 6fba743a1f
commit cbb11bc62e
  1. 2
      kmcomposewin.cpp
  2. 6
      recipientseditor.cpp

@ -595,7 +595,9 @@ void KMComposeWin::readColorConfig( void )
mPalette = qApp->palette();
mPalette.setColor( QPalette::Base, mBackColor );
mPalette.setColor( QPalette::Text, mForeColor );
#ifdef __GNUC__
# warning "FIXME: Do we need to call setDisabled/setActive/setInactive or are the setColor calls enough??"
#endif
// mPalette.setDisabled(cgrp);
// mPalette.setActive(cgrp);
// mPalette.setInactive(cgrp);

@ -500,7 +500,9 @@ void RecipientsView::slotDeleteLine()
unsigned int firstCC = 0;
for( int i = pos; i < mLines.count(); ++i ) {
RecipientLine *line = mLines.at( i );
#ifdef __GNUC__
#warning port from Q3ScrollView
#endif
//moveChild( line, childX( line ), childY( line ) - mLineHeight );
if ( line->recipientType() == Recipient::To )
atLeastOneToLine = true;
@ -526,7 +528,9 @@ void RecipientsView::resizeView()
void RecipientsView::activateLine( RecipientLine *line )
{
line->activate();
#ifdef __GNUC__
#warning port from Q3ScrollView
#endif
//ensureVisible( 0, childY( line ) );
}
@ -650,7 +654,9 @@ void RecipientsView::setFocusTop()
void RecipientsView::setFocusBottom()
{
#ifdef __GNUC__
#warning port from Q3ScrollView
#endif
RecipientLine *line = mLines.last();
if ( line ) line->activate();
else kWarning() << "No last" << endl;

Loading…
Cancel
Save