Add window icon.
This commit is contained in:
parent
162016025b
commit
2e6ff1be22
|
@ -1,5 +1,5 @@
|
||||||
import QtQuick 2.9
|
import QtQuick 2.9
|
||||||
|
|
||||||
RoomForm {
|
RoomForm {
|
||||||
roomListModel.onNewMessage: if (!window.active) spectralController.showMessage(roomName, content, icon)
|
roomListModel.onNewMessage: if (!window.visible) spectralController.showMessage(roomName, content, icon)
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@ int main(int argc, char *argv[]) {
|
||||||
app.setOrganizationName("ENCOM");
|
app.setOrganizationName("ENCOM");
|
||||||
app.setOrganizationDomain("encom.eu.org");
|
app.setOrganizationDomain("encom.eu.org");
|
||||||
app.setApplicationName("Spectral");
|
app.setApplicationName("Spectral");
|
||||||
|
app.setWindowIcon(QIcon(":/assets/img/icon.png"));
|
||||||
|
|
||||||
app.setQuitOnLastWindowClosed(false);
|
app.setQuitOnLastWindowClosed(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue