diff options
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 2749860b..c91f5256 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -436,7 +436,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow view = new GroupView(ui->centralWidget); view->setSelectionMode(QAbstractItemView::SingleSelection); - view->setItemDelegate(new ListViewDelegate()); + // FIXME: leaks ListViewDelegate + view->setItemDelegate(new ListViewDelegate(this)); view->setFrameShape(QFrame::NoFrame); // do not show ugly blue border on the mac view->setAttribute(Qt::WA_MacShowFocusRect, false); |