Skip to content

Commit

Permalink
Fixed missed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
KochynVolodymyr authored and alaindargelas committed Aug 1, 2024
1 parent 34eb799 commit 1477229
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InteractivePathAnalysis/NCriticalPathView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ NCriticalPathView::NCriticalPathView(QWidget* parent)
m_bnClearSelection->setToolTip(
tr("clear selected critical paths and selected critical path elements"));
m_bnClearSelection->setFixedSize(iconSize, iconSize);
m_bnClearSelection->setIcon(QIcon(":/cross.png"));
m_bnClearSelection->setIcon(QIcon(":/images/cross.png"));
QObject::connect(m_bnClearSelection, &QPushButton::clicked, this,
&NCriticalPathView::clearSelection);

Expand Down Expand Up @@ -266,7 +266,7 @@ void NCriticalPathView::setupFilterMenu() {
"will be visible"));
int iconSize = NCriticalPathTheme::instance().iconSize();
m_bnFilter->setFixedSize(iconSize, iconSize);
m_bnFilter->setIcon(QIcon(":/search.png"));
m_bnFilter->setIcon(QIcon(":/images/search.png"));
m_filterMenu = new CustomMenu(m_bnFilter);
m_filterMenu->setButtonToolTips(tr("apply filter criteria"),
tr("discard filter criteria"));
Expand Down
Binary file added src/MainWindow/images/cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/MainWindow/main_window_resource.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
<file>images/message.png</file>
<file>images/refresh-double.png</file>
<file>images/edit-pencil.png</file>
<file>images/cross.png</file>
</qresource>
</RCC>

0 comments on commit 1477229

Please sign in to comment.