Skip to content

Commit

Permalink
- minor typo fixes.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23060 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Oct 29, 2014
1 parent a63d691 commit 4b27d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Modeling/LibraryTreeWidget.cpp
Expand Up @@ -2005,7 +2005,7 @@ QPixmap LibraryComponent::getComponentPixmap(QSize size)
painter.scale(1.0, -1.0);
mpGraphicsView->scene()->render(&painter, mRectangle, mpGraphicsView->sceneRect());
painter.end();
return pixmap.scaled(size, Qt::KeepAspectRatio, Qt::SmoothTransformation);
return pixmap;
}

void LibraryComponent::hasIconAnnotation(Component *pComponent)
Expand Down
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Options/OptionsDialog.cpp
Expand Up @@ -705,7 +705,7 @@ void OptionsDialog::addListItems()
pSimulationItem->setText(Helper::simulation);
// Notifications Item
QListWidgetItem *pNotificationsItem = new QListWidgetItem(mpOptionsList);
pNotificationsItem->setIcon(QIcon(":/Resources/icons/notificationicon.png"));
pNotificationsItem->setIcon(QIcon(":/Resources/icons/notificationicon.svg"));
pNotificationsItem->setText(tr("Notifications"));
// Pen Style Item
QListWidgetItem *pLineStyleItem = new QListWidgetItem(mpOptionsList);
Expand Down

0 comments on commit 4b27d21

Please sign in to comment.