use icon for window

This commit is contained in:
Malte Jürgens 2022-07-28 18:36:09 +02:00
parent 1ab00ee774
commit 674ac146f2
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
2 changed files with 3 additions and 0 deletions

View File

@ -2,5 +2,6 @@
<RCC>
<qresource>
<file>assets/userscript.js</file>
<file>assets/de.shorsh.discord-screenaudio.png</file>
</qresource>
</RCC>

View File

@ -7,6 +7,8 @@
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QApplication::setApplicationName("discord-screenaudio");
QApplication::setWindowIcon(
QIcon(":assets/de.shorsh.discord-screenaudio.png"));
QApplication::setApplicationVersion(DISCORD_SCEENAUDIO_VERSION_FULL);
QCommandLineParser parser;