Changeset d97bcab in confclerk_git for src/gui/mainwindow.cpp
- Timestamp:
- 04/15/10 14:49:59 (13 years ago)
- Branches:
- master, qt5
- Children:
- 04acaf9
- Parents:
- f5b68a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rf5b68a4 rd97bcab 75 75 76 76 connect(importScheduleWidget, SIGNAL(scheduleImported(int)), SLOT(scheduleImported(int))); 77 connect(importScheduleWidget, SIGNAL(scheduleDeleted(const QString&)), SLOT(scheduleDeleted(const QString&))); 77 78 78 79 // event details have changed … … 161 162 } 162 163 164 void MainWindow::scheduleDeleted(const QString& title) 165 { 166 int idx = selectConference->findText(title); 167 168 if (idx == -1) { 169 // should not happen 170 qWarning() << __PRETTY_FUNCTION__ << "removed non-existent item:" << title; 171 } else { 172 // will it signal "changed"? 173 selectConference->removeItem(idx); 174 } 175 } 176 163 177 void MainWindow::aboutApp() 164 178 {
Note: See TracChangeset
for help on using the changeset viewer.