1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-16 22:08:17 +01:00

Make icon work not only on my machine :-)

This commit is contained in:
Dominik Schmidt 2014-04-18 11:47:39 +02:00
parent bff092b658
commit 5d7ef619e3
3 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,8 @@ cmake_policy(SET CMP0017 NEW)
setup_qt()
set(crashreporter_SOURCES main.cpp)
list(APPEND crashreporter_SOURCES main.cpp)
list(APPEND crashreporter_RC resources.qrc)
qt_wrap_ui( crashreporter_UI_HEADERS ${crashreporter_UI} )
qt_add_resources( crashreporter_RC_RCC ${crashreporter_RC} )

View File

@ -50,7 +50,7 @@ int main( int argc, char* argv[] )
CrashReporter reporter( QUrl( "http://crash-reports.tomahawk-player.org/submit" ), app.arguments() );
reporter.setLogo(QPixmap("/home/domme/dev/sources/tomahawk/data/icons/tomahawk-icon-128x128.png"));
reporter.setLogo(QPixmap(":/tomahawk-icon.png"));
// // socorro expects a 10 digit build id

View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/">
<file alias="tomahawk-icon.png">../../data/icons/tomahawk-icon-128x128.png</file>
</qresource>
</RCC>