Skip to content

Commit

Permalink
[TD] remove icons/cursor-balloon.png and replace references w/ SVG file
Browse files Browse the repository at this point in the history
Replacing w/ the already installed`TechDraw_Balloon.svg` file in the same directory.
  • Loading branch information
luzpaz authored and wwmayer committed Apr 17, 2021
1 parent 84dffcc commit 6c52a46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Mod/TechDraw/Gui/QGVPage.cpp
Expand Up @@ -171,7 +171,7 @@ QGVPage::QGVPage(ViewProviderPage *vp, QGraphicsScene* s, QWidget *parent)
bkgBrush = new QBrush(getBackgroundColor());

balloonCursor = new QLabel(this);
balloonCursor->setPixmap(QPixmap(QString::fromUtf8(":/icons/cursor-balloon.png")));
balloonCursor->setPixmap(QPixmap(QString::fromUtf8(":/icons/TechDraw_Balloon.svg")));
balloonCursor->hide();

resetCachedContent();
Expand Down Expand Up @@ -1114,7 +1114,7 @@ void QGVPage::enterEvent(QEvent *event)
QGraphicsView::enterEvent(event);
if(getDrawPage()->balloonPlacing) {
balloonCursor->hide();
QApplication::setOverrideCursor(QCursor(QPixmap(QString::fromUtf8(":/icons/cursor-balloon.png")),0,32));
QApplication::setOverrideCursor(QCursor(QPixmap(QString::fromUtf8(":/icons/TechDraw_Balloon.svg")),0,32));
} else {
QApplication::restoreOverrideCursor();
viewport()->setCursor(Qt::ArrowCursor);
Expand Down
1 change: 0 additions & 1 deletion src/Mod/TechDraw/Gui/Resources/TechDraw.qrc
Expand Up @@ -97,7 +97,6 @@
<file>icons/dashDotDot-line.svg</file>
<file>icons/dash-line.svg</file>
<file>icons/TechDraw_Lock.svg</file>
<file>icons/cursor-balloon.png</file>
<file>icons/none.svg</file>
<file>icons/circular.svg</file>
<file>icons/hexagon.svg</file>
Expand Down
Binary file not shown.

0 comments on commit 6c52a46

Please sign in to comment.