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:
parent
bff092b658
commit
5d7ef619e3
@ -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} )
|
||||
|
@ -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
|
||||
|
5
src/crashreporter/resources.qrc
Normal file
5
src/crashreporter/resources.qrc
Normal file
@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file alias="tomahawk-icon.png">../../data/icons/tomahawk-icon-128x128.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
x
Reference in New Issue
Block a user