forked from qt-creator/qt-creator
Help: Do not use specific model where abstract model is enough
Change-Id: I1cbdd5d3ce1cf4735cff8bdfa71ea336a507c28a Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "openpagesswitcher.h"
|
||||
|
||||
#include "centralwidget.h"
|
||||
#include "openpagesmodel.h"
|
||||
#include "openpageswidget.h"
|
||||
|
||||
#include <utils/hostosinfo.h>
|
||||
@@ -41,7 +40,7 @@ using namespace Help::Internal;
|
||||
const int gWidth = 300;
|
||||
const int gHeight = 200;
|
||||
|
||||
OpenPagesSwitcher::OpenPagesSwitcher(OpenPagesModel *model)
|
||||
OpenPagesSwitcher::OpenPagesSwitcher(QAbstractItemModel *model)
|
||||
: QFrame(nullptr, Qt::Popup)
|
||||
, m_openPagesModel(model)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user