summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp1
-rw-r--r--subsurface.qrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index bb4bda1af..adfb3c74a 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -26,6 +26,7 @@ MainWindow::MainWindow() : ui(new Ui::MainWindow()),
{
ui->setupUi(this);
ui->ListWidget->setModel(model);
+ this->setWindowIcon(QIcon(":subsurface-icon"));
// Just to test the star widgets, can be safely removed.
StarWidget *star = new StarWidget(0);
star->setMaximumStars(10);
diff --git a/subsurface.qrc b/subsurface.qrc
index e257bf8f5..e1939f28e 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -1,5 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file alias="star">star.svg</file>
+ <file alias="subsurface-icon">subsurface-icon.png</file>
</qresource>
</RCC>