- Timestamp:
- 10/17/11 22:26:47 (11 years ago)
- Branches:
- master, qt5
- Children:
- 066b41f
- Parents:
- c81f30a
- Location:
- src/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rc81f30a r1ca13ef 140 140 141 141 void MainWindow::on_reloadAction_triggered() { 142 142 int confId = Conference::activeConference(); 143 if (confId== -1) return; 144 Conference active = Conference::getById(confId); 145 if (active.url().isEmpty()) return; 146 importFromNetwork(active.url()); 147 setEnabled(false); 143 148 } 144 149 … … 297 302 importData(aReply->readAll(), aReply->url().toEncoded()); 298 303 } 304 setEnabled(true); 299 305 } 300 306 -
src/gui/mainwindow.ui
rc81f30a r1ca13ef 259 259 </hints> 260 260 </connection> 261 <connection>262 <sender>reloadAction</sender>263 <signal>triggered()</signal>264 <receiver>MainWindow</receiver>265 <slot>close()</slot>266 <hints>267 <hint type="sourcelabel">268 <x>-1</x>269 <y>-1</y>270 </hint>271 <hint type="destinationlabel">272 <x>451</x>273 <y>248</y>274 </hint>275 </hints>276 </connection>277 261 </connections> 278 262 </ui>
Note: See TracChangeset
for help on using the changeset viewer.