Browse Source

Fix unitialized pointer field

adaptive-webui-19844
Vladimir Golovnev (Glassez) 9 years ago
parent
commit
a203246e85
  1. 6
      src/gui/rss/feedlistwidget.cpp

6
src/gui/rss/feedlistwidget.cpp

@ -34,7 +34,11 @@
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "feedlistwidget.h" #include "feedlistwidget.h"
FeedListWidget::FeedListWidget(QWidget *parent, const Rss::ManagerPtr& rssmanager): QTreeWidget(parent), m_rssManager(rssmanager) { FeedListWidget::FeedListWidget(QWidget *parent, const Rss::ManagerPtr& rssmanager)
: QTreeWidget(parent)
, m_rssManager(rssmanager)
, m_currentFeed(nullptr)
{
setContextMenuPolicy(Qt::CustomContextMenu); setContextMenuPolicy(Qt::CustomContextMenu);
setDragDropMode(QAbstractItemView::InternalMove); setDragDropMode(QAbstractItemView::InternalMove);
setSelectionMode(QAbstractItemView::ExtendedSelection); setSelectionMode(QAbstractItemView::ExtendedSelection);

Loading…
Cancel
Save