if it compiles it should fix the new missing query issue :)
authorMarcus Eggenberger <egs@quassel-irc.org>
Wed, 26 Aug 2009 08:25:07 +0000 (10:25 +0200)
committerMarcus Eggenberger <egs@quassel-irc.org>
Wed, 26 Aug 2009 08:25:07 +0000 (10:25 +0200)
src/uisupport/bufferviewfilter.cpp

index c2cac9b..6bd6565 100644 (file)
@@ -326,7 +326,7 @@ bool BufferViewFilter::filterAcceptBuffer(const QModelIndex &source_bufferIndex)
   if(!(allowedBufferTypes & bufferType))
     return false;
 
-  if(bufferType & BufferInfo::QueryBuffer && !_showServerQueries) {
+  if(bufferType & BufferInfo::QueryBuffer && !_showServerQueries && sourceModel()->data(source_bufferIndex, Qt::DisplayRole).toString().contains('.')) {
     return false;
   }