Add CRASHREPORTER_SUBMIT_URL define and default it to some placeholder owncloud url

This commit is contained in:
Dominik Schmidt 2014-08-28 11:05:46 +02:00
parent 2b4849a2fa
commit 34042028b3
2 changed files with 3 additions and 1 deletions

View file

@ -9,4 +9,6 @@
#define CRASHREPORTER_VERSION_STRING "@MIRALL_VERSION_STRING@"
#define CRASHREPORTER_SUBMIT_URL "http://crash-reports.owncloud.org/submit"
#endif // CRASHREPORTERCONFIG_H

View file

@ -30,7 +30,7 @@ int main( int argc, char* argv[] )
}
// TODO: install socorro ....
CrashReporter reporter( QUrl( "http://crash-reports.tomahawk-player.org/submit" ), app.arguments() );
CrashReporter reporter( QUrl( CRASHREPORTER_SUBMIT_URL ), app.arguments() );
reporter.setLogo(QPixmap(":/owncloud-icon.png"));
reporter.setWindowTitle(CRASHREPORTER_PRODUCT_NAME);