X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fbufferview.cpp;h=c60aa80f4d905f43b868bea0a2027f757e6a83be;hp=c57737f243d6d6065c69a7669b2f74c4934ff9e1;hb=748f25bbae0e0ca8df58ec69df8d19c84ae77252;hpb=a7b0b0bee42d05ce5af425ed1809e9288403914d diff --git a/src/qtui/bufferview.cpp b/src/qtui/bufferview.cpp index c57737f2..c60aa80f 100644 --- a/src/qtui/bufferview.cpp +++ b/src/qtui/bufferview.cpp @@ -86,7 +86,7 @@ void BufferView::dropEvent(QDropEvent *event) { void BufferView::joinChannel(const QModelIndex &index) { Buffer::Type bufferType = (Buffer::Type)index.data(BufferTreeModel::BufferTypeRole).toInt(); - if(bufferType != Buffer::ChannelBuffer) + if(bufferType != Buffer::ChannelType) return; Client::fakeInput(index.data(BufferTreeModel::BufferUidRole).toUInt(), QString("/JOIN %1").arg(index.sibling(index.row(), 0).data().toString()));