Changeset 508

Show
Ignore:
Timestamp:
09/22/08 16:05:03 (5 years ago)
Author:
smoors
Message:

converted "and"-operator to "&&" because some funny windows compilers don't know of this aliases..

Location:
trunk/gui/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/SoundLibrary/SoundLibraryRepositoryDialog.cpp

    r128 r508  
    7575        QString text = QInputDialog::getText(this, trUtf8("Edit server list"), trUtf8("URL"), QLineEdit::Normal,QString(""), &ok); 
    7676         
    77         if( ok and !text.isEmpty() ){ 
     77        if( ok && !text.isEmpty() ){ 
    7878                pPref->sServerList.push_back( text ); 
    7979        } 
  • trunk/gui/src/widgets/midiTable.cpp

    r377 r508  
    5656                QComboBox * actionCombo = dynamic_cast <QComboBox *> ( cellWidget( __row_count - 1, 2 ) ); 
    5757 
    58                 if( eventCombo == NULL or actionCombo == NULL) return; 
     58                if( eventCombo == NULL || actionCombo == NULL) return; 
    5959 
    60                 if( actionCombo->currentText() != "" and eventCombo->currentText() != "" ) { 
     60                if( actionCombo->currentText() != "" && eventCombo->currentText() != "" ) { 
    6161                        insertNewRow("", "", 0, 0); 
    6262                }