Merge pull request #30 from jagerman/new-icon2

Replace icon with official branding one
This commit is contained in:
Stephen Shelton 2020-03-26 07:22:40 -07:00 committed by GitHub
commit c815942319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

1
res/images/icon.svg Normal file
View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><style>.cls-1{fill:#fff;}.cls-2{fill:#6cbe45;}.cls-3{fill:none;stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:9px;}.cls-4{fill:#1c1c1c;}</style></defs><title>lokinet icon</title><circle class="cls-1" cx="500" cy="500" r="500"/><path class="cls-2" d="M502.6,560.44l8,7.34,14.5,13.09c.74.67,1.42,1.38,2.09,2.09L541,595.54a20.87,20.87,0,0,1,0,31l-16.8,15.2a38.3,38.3,0,0,0,4-3.08l94.71-85.73-55.92-50.64Z" transform="translate(0.02 0.11)"/><path class="cls-2" d="M754.35,415.61c0-.18,0-.35,0-.52a69.39,69.39,0,0,0-23.13-50.47L543.3,197.05a20.88,20.88,0,0,1-3.77,26.39l-14.07,12.73c-.09.08-.16.17-.25.25l-25.1,22.71L669.05,409.78l-46.22,41.83L739.1,556.9a46.54,46.54,0,0,1,15.28,34.54c0,1.28-.1,2.55-.21,3.82a38.26,38.26,0,0,0,.23-4V416.38C754.4,416.12,754.36,415.86,754.35,415.61Z" transform="translate(0.02 0.11)"/><path class="cls-2" d="M500,441.68l-38.63-35a20.88,20.88,0,0,1,0-31l10.49-9.49.35-.43a37.93,37.93,0,0,1,6.07-5.38h0a39,39,0,0,0-3.46,2.75l-95.23,86.2,56,50.57Z" transform="translate(0.02 0.11)"/><path class="cls-2" d="M460.61,776.35l11.83-10.7a32.29,32.29,0,0,1,2.34-2.34l25-22.59L333.46,592.38l46.15-41.77L260.89,443.38a46.58,46.58,0,0,1-15.31-34.47c0-1.48.09-3,.23-4.43a36.09,36.09,0,0,0-.25,4.18V583.51a69.42,69.42,0,0,0,23.19,51.75L457.21,803.33A20.86,20.86,0,0,1,460.61,776.35Z" transform="translate(0.02 0.11)"/><path class="cls-3" d="M525,422.75" transform="translate(0.02 0.11)"/><path class="cls-4" d="M754.38,591.44A46.54,46.54,0,0,0,739.1,556.9L525.19,363.21c-.24-.22-.51-.41-.76-.62l-10.26-9.29a20.86,20.86,0,0,0-28,0l-7.92,7.16a37.93,37.93,0,0,0-6.07,5.38l-.35.43-10.49,9.49a20.88,20.88,0,0,0,0,31l38.83,35.15,0,0,165.1,149.5-190.51,172a32.29,32.29,0,0,0-2.34,2.34l-11.83,10.7a20.87,20.87,0,0,0,0,30.95l24.82,22.48a20.87,20.87,0,0,0,28,0l41.08-37.17-.08-.08L739,625.91A46.58,46.58,0,0,0,754.38,591.44Z" transform="translate(0.02 0.11)"/><path class="cls-4" d="M541,595.54,527.21,583c-.67-.71-1.35-1.42-2.09-2.09l-14.5-13.09-8.68-7.95-.06,0-167.22-151L525.21,236.42c.09-.08.16-.17.25-.25l14.07-12.73a20.88,20.88,0,0,0,0-31L514.71,170a20.87,20.87,0,0,0-28,0l-41.08,37.18h0L260.85,374.39a46.56,46.56,0,0,0,0,69L445.27,609.91l-.06.05,42.89,39a20.87,20.87,0,0,0,28,0l24.83-22.47A20.87,20.87,0,0,0,541,595.54Z" transform="translate(0.02 0.11)"/></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -95,7 +95,7 @@ ApplicationWindow {
id: systray
tooltip: qsTr("Loki Network")
visible: !notray
iconSource: "qrc:/res/images/icon.png"
iconSource: "qrc:/res/images/icon.svg"
menu: Menu {
id: systrayMenu

View File

@ -16,7 +16,7 @@
<file>qml/BootstrapDownloadDialog.qml</file>
<!-- images -->
<file>images/icon.png</file>
<file>images/icon.svg</file>
<file>images/logo.png</file>
<file>images/connection_indicator.png</file>
<file>images/connection_button.png</file>

View File

@ -45,7 +45,7 @@ int32_t main(int32_t argc, char *argv[])
qmlRegisterType<BandwidthChartData>("BandwidthChartData", 1, 0, "BandwidthChartData");
QApplication app(argc, argv);
app.setWindowIcon(QIcon(":/res/images/icon.png"));
app.setWindowIcon(QIcon(":/res/images/icon.svg"));
app.setQuitOnLastWindowClosed(false);
QCoreApplication::setApplicationName("Lokinet Control Panel");