From 2881790f3c57264c27d7f4e6c714ba5f435e066d Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Mon, 14 Dec 2015 17:12:28 +0100 Subject: [PATCH] Removed 'Go to content source' option --- src/domain/UBGraphicsMediaItemDelegate.cpp | 3 +-- src/domain/UBGraphicsPixmapItem.cpp | 3 +-- src/domain/UBGraphicsSvgItem.cpp | 3 +-- src/domain/UBGraphicsWidgetItemDelegate.cpp | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/domain/UBGraphicsMediaItemDelegate.cpp b/src/domain/UBGraphicsMediaItemDelegate.cpp index 2faeb9b8..839ad434 100644 --- a/src/domain/UBGraphicsMediaItemDelegate.cpp +++ b/src/domain/UBGraphicsMediaItemDelegate.cpp @@ -46,8 +46,7 @@ UBGraphicsMediaItemDelegate::UBGraphicsMediaItemDelegate(UBGraphicsMediaItem* pDelegated, QMediaPlayer* pMedia, QObject * parent) : UBGraphicsItemDelegate(pDelegated, parent, GF_COMMON | GF_RESPECT_RATIO - | GF_TOOLBAR_USED - | GF_SHOW_CONTENT_SOURCE) + | GF_TOOLBAR_USED) , mPlayPauseButton(NULL) , mMedia(pMedia) , mToolBarShowTimer(NULL) diff --git a/src/domain/UBGraphicsPixmapItem.cpp b/src/domain/UBGraphicsPixmapItem.cpp index 44a532d5..a2191321 100644 --- a/src/domain/UBGraphicsPixmapItem.cpp +++ b/src/domain/UBGraphicsPixmapItem.cpp @@ -51,8 +51,7 @@ UBGraphicsPixmapItem::UBGraphicsPixmapItem(QGraphicsItem* parent) | GF_FLIPPABLE_ALL_AXIS | GF_REVOLVABLE | GF_RESPECT_RATIO - | GF_TOOLBAR_USED - | GF_SHOW_CONTENT_SOURCE)); + | GF_TOOLBAR_USED)); setData(UBGraphicsItemData::ItemLayerType, UBItemLayerType::Object); setTransformationMode(Qt::SmoothTransformation); diff --git a/src/domain/UBGraphicsSvgItem.cpp b/src/domain/UBGraphicsSvgItem.cpp index 172fd0c3..b2afec66 100644 --- a/src/domain/UBGraphicsSvgItem.cpp +++ b/src/domain/UBGraphicsSvgItem.cpp @@ -74,8 +74,7 @@ void UBGraphicsSvgItem::init() setDelegate(new UBGraphicsItemDelegate(this, 0, GF_COMMON | GF_RESPECT_RATIO - | GF_REVOLVABLE - | GF_SHOW_CONTENT_SOURCE)); + | GF_REVOLVABLE)); UBGraphicsFlags dfl = Delegate()->ubflags(); Delegate()->setUBFlags(dfl | GF_FLIPPABLE_ALL_AXIS | GF_REVOLVABLE); diff --git a/src/domain/UBGraphicsWidgetItemDelegate.cpp b/src/domain/UBGraphicsWidgetItemDelegate.cpp index 82ed610e..7e4dc7c6 100644 --- a/src/domain/UBGraphicsWidgetItemDelegate.cpp +++ b/src/domain/UBGraphicsWidgetItemDelegate.cpp @@ -43,8 +43,7 @@ UBGraphicsWidgetItemDelegate::UBGraphicsWidgetItemDelegate(UBGraphicsWidgetItem* pDelegated, int widgetType) : UBGraphicsItemDelegate(pDelegated, 0, GF_COMMON - | GF_RESPECT_RATIO - | GF_SHOW_CONTENT_SOURCE) + | GF_RESPECT_RATIO) , freezeAction(0) , setAsToolAction(0) {