# HG changeset patch
# User sheepluva
# Date 1316281425 -7200
# Node ID 57af6f3abf4a4698552e2d428a2dd39fd3059f2f
# Parent  dc36638a6b7ca68e10d3c7e7ee19a8b58dcd2c99
fix style of lobby chatroom user context menu

diff -r dc36638a6b7c -r 57af6f3abf4a QTfrontend/chatwidget.cpp
--- a/QTfrontend/chatwidget.cpp	Sat Sep 17 16:20:54 2011 +0400
+++ b/QTfrontend/chatwidget.cpp	Sat Sep 17 19:43:45 2011 +0200
@@ -203,7 +203,7 @@
         QList<QListWidgetItem *> items = chatNicks->findItems(nick, Qt::MatchExactly);
         if (items.size() < 1)
             return;
-        QMenu * popup = new QMenu();
+        QMenu * popup = new QMenu(this);
         // selecting an item will automatically scroll there, so let's save old position
         QScrollBar * scrollBar = chatNicks->verticalScrollBar();
         int oldScrollPos = scrollBar->sliderPosition();