summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-22 11:29:08 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-22 11:30:10 (GMT)
commit81db7d1ca46b7b0d922a1107d93f49b2cebb6bfb (patch)
treef2f703ecf1eec16e5576bc18124eb5e604ee7eb3 /Swift/QtUI/MUCSearch/QtMUCSearchWindow.h
parent72f6e3fc436b5e4f7988ffa19359bb6cff644590 (diff)
downloadswift-81db7d1ca46b7b0d922a1107d93f49b2cebb6bfb.zip
swift-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.h2
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_;