Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Oct 27, 2017
1 parent 1457fb6 commit 66250bb
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
Expand Up @@ -36,7 +36,7 @@ namespace CellMLAnnotationView {
CellmlAnnotationViewMetadataViewDetailsWidget::CellmlAnnotationViewMetadataViewDetailsWidget(CellMLSupport::CellmlFile *pCellmlFile,
QWidget *pParent) :
QStackedWidget(pParent),
Core::CommonWidget(this),
Core::CommonWidget(pParent),
mCellmlFile(pCellmlFile)
{
// Create our different metadata views
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/splitterwidget.cpp
Expand Up @@ -33,7 +33,7 @@ namespace Core {
SplitterWidget::SplitterWidget(const Qt::Orientation &pOrientation,
QWidget *pParent) :
QSplitter(pParent),
CommonWidget(this)
CommonWidget(pParent)
{
// Customise ourselves so that we are as thin as possible and without an
// image for our handle
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/treeviewwidget.cpp
Expand Up @@ -42,7 +42,7 @@ namespace Core {

TreeViewWidget::TreeViewWidget(QWidget *pParent) :
QTreeView(pParent),
CommonWidget(this)
CommonWidget(pParent)
{
// Customise ourselves

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/usermessagewidget.cpp
Expand Up @@ -44,7 +44,7 @@ UserMessageWidget::UserMessageWidget(const QString &pIcon,
const QString &pExtraMessage,
QWidget *pParent) :
QLabel(pParent),
CommonWidget(this),
CommonWidget(pParent),
mScale(0.0),
mDefaultFontScale(1.35*font().pointSize()),
mIcon(pIcon),
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/miscellaneous/Core/src/widget.cpp
Expand Up @@ -39,7 +39,7 @@ namespace Core {

Widget::Widget(QWidget *pParent) :
QWidget(pParent),
CommonWidget(this),
CommonWidget(pParent),
mSizeHint(defaultSize(0.15))
{
}
Expand All @@ -48,7 +48,7 @@ Widget::Widget(QWidget *pParent) :

Widget::Widget(const QSize &pSizeHint, QWidget *pParent) :
QWidget(pParent),
CommonWidget(this),
CommonWidget(pParent),
mSizeHint(pSizeHint)
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/windowwidget.cpp
Expand Up @@ -32,7 +32,7 @@ namespace Core {

WindowWidget::WindowWidget(QWidget *pParent) :
QDockWidget(pParent),
CommonWidget(this)
CommonWidget(pParent)
{
}

Expand Down
Expand Up @@ -46,7 +46,7 @@ SimulationExperimentViewInformationWidget::SimulationExperimentViewInformationWi
SimulationExperimentViewSimulationWidget *pSimulationWidget,
QWidget *pParent) :
QScrollArea(pParent),
Core::CommonWidget(this)
Core::CommonWidget(pParent)
{
// Create and set our vertical layout

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/widget/EditorWidget/src/editorlistwidget.cpp
Expand Up @@ -130,7 +130,7 @@ QString EditorListItem::message() const

EditorListWidget::EditorListWidget(QWidget *pParent) :
QListView(pParent),
Core::CommonWidget(this),
Core::CommonWidget(pParent),
mModel(new QStandardItemModel(this))
{
// Customise ourselves
Expand Down
Expand Up @@ -645,7 +645,7 @@ GraphPanelPlotWidget::GraphPanelPlotWidget(const GraphPanelPlotWidgets &pNeighbo
QAction *pSynchronizeYAxisAction,
QWidget *pParent) :
QwtPlot(pParent),
Core::CommonWidget(this),
Core::CommonWidget(pParent),
mGraphs(GraphPanelPlotGraphs()),
mAction(None),
mOriginPoint(QPoint()),
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/widget/WebViewerWidget/src/webviewerwidget.cpp
Expand Up @@ -128,7 +128,7 @@ enum {

WebViewerWidget::WebViewerWidget(QWidget *pParent) :
QWidget(pParent),
Core::CommonWidget(this),
Core::CommonWidget(pParent),
mToolTip(QString()),
mHomePage("about:blank"),
mZoomingEnabled(true),
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/widget/ZincWidget/src/zincwidget.cpp
Expand Up @@ -60,7 +60,7 @@ void ZincWidgetSceneViewerCallback::operator()(const OpenCMISS::Zinc::Sceneviewe

ZincWidget::ZincWidget(QWidget *pParent) :
QOpenGLWidget(pParent),
Core::CommonWidget(this),
Core::CommonWidget(pParent),
mGraphicsInitialized(false),
mDevicePixelRatio(-1),
mContext(0),
Expand Down

0 comments on commit 66250bb

Please sign in to comment.