Fix app icon on Windows

This commit is contained in:
ArsenArsen 2017-07-05 19:24:53 +02:00
parent e609a1a9a5
commit cf14837552
2 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,7 @@ void CropScene::setVisible(bool visible) {
void CropScene::fontAsk() {
hide();
bool ok = false;
QFont font = QFontDialog::getFont(&ok, this->font(), nullptr, "Font to use");
QFont font = QFontDialog::getFont(&ok, this->font(), this->views()[0], "Font to use");
if (ok) _font = font;
show();
}

View File

@ -2,5 +2,6 @@
<qresource prefix="/">
<file>icons/icon.png</file>
<file>icons/icon.svg</file>
<file>icons/icon.ico</file>
</qresource>
</RCC>