Changeset 508
- Timestamp:
- 09/22/08 16:05:03 (5 years ago)
- Location:
- trunk/gui/src
- Files:
-
- 2 modified
-
SoundLibrary/SoundLibraryRepositoryDialog.cpp (modified) (1 diff)
-
widgets/midiTable.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/src/SoundLibrary/SoundLibraryRepositoryDialog.cpp
r128 r508 75 75 QString text = QInputDialog::getText(this, trUtf8("Edit server list"), trUtf8("URL"), QLineEdit::Normal,QString(""), &ok); 76 76 77 if( ok and!text.isEmpty() ){77 if( ok && !text.isEmpty() ){ 78 78 pPref->sServerList.push_back( text ); 79 79 } -
trunk/gui/src/widgets/midiTable.cpp
r377 r508 56 56 QComboBox * actionCombo = dynamic_cast <QComboBox *> ( cellWidget( __row_count - 1, 2 ) ); 57 57 58 if( eventCombo == NULL oractionCombo == NULL) return;58 if( eventCombo == NULL || actionCombo == NULL) return; 59 59 60 if( actionCombo->currentText() != "" andeventCombo->currentText() != "" ) {60 if( actionCombo->currentText() != "" && eventCombo->currentText() != "" ) { 61 61 insertNewRow("", "", 0, 0); 62 62 }