diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-22 11:29:08 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-22 11:30:10 (GMT) |
commit | 81db7d1ca46b7b0d922a1107d93f49b2cebb6bfb (patch) | |
tree | f2f703ecf1eec16e5576bc18124eb5e604ee7eb3 /Swift/QtUI/MUCSearch/QtMUCSearchWindow.h | |
parent | 72f6e3fc436b5e4f7988ffa19359bb6cff644590 (diff) | |
download | swift-contrib-81db7d1ca46b7b0d922a1107d93f49b2cebb6bfb.zip swift-contrib-81db7d1ca46b7b0d922a1107d93f49b2cebb6bfb.tar.bz2 |
Work around Qt crash bug when destroying the selection list in MUC search.
Diffstat (limited to 'Swift/QtUI/MUCSearch/QtMUCSearchWindow.h')
-rw-r--r-- | Swift/QtUI/MUCSearch/QtMUCSearchWindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h index c7661c2..05ab9a5 100644 --- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h +++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h @@ -13,6 +13,7 @@ namespace Swift { class MUCSearchModel; class MUCSearchDelegate; + class MUCSearchRoomItem; class QtMUCSearchWindow : public QDialog, public MUCSearchWindow { Q_OBJECT @@ -38,6 +39,7 @@ namespace Swift { void handleActivated(const QModelIndex& index); void updateThrobberPosition(); void handleSelectionChanged (const QItemSelection&, const QItemSelection&); + MUCSearchRoomItem* getSelectedRoom() const; private: Ui::QtMUCSearchWindow ui_; |