Skip to content

Commit

Permalink
Added ICON png to see if this helps with Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellGarwood committed Feb 12, 2020
1 parent 6c036c8 commit bb824aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SPIERSalign/align.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<qresource prefix="/">
<file>resources/SPIERSalignIcon.svg</file>
<file>resources/SPIERSalignIcon.icns</file>
<file alias="icon.png">resources/SPIERSalignIcon128x128.png</file>
</qresource>
</RCC>
Binary file added SPIERSalign/resources/SPIERSalignIcon128x128.png
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 SPIERSalign/src/mainwindowimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ MainWindowImpl::MainWindowImpl(QWidget *parent, Qt::WindowFlags f)
qDebug() << QImageWriter::supportedImageFormats();

setWindowTitle(QString(PRODUCTNAME) + " - Version " + QString(SOFTWARE_VERSION));
setWindowIcon(QIcon (":/icon.png"));

showMaximized();

Expand Down

0 comments on commit bb824aa

Please sign in to comment.