Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <domme@tomahawk-player.org>2014-08-28 13:05:46 +0400
committerDominik Schmidt <domme@tomahawk-player.org>2014-08-28 13:05:46 +0400
commit34042028b3e14724476edf6a0c2fc105e97e192d (patch)
tree2f22c6565e6de252eb9877762f3b1a6b50c3bcc3 /src/crashreporter
parent2b4849a2fae0a38ee646eda53511de38604bb9c8 (diff)
Add CRASHREPORTER_SUBMIT_URL define and default it to some placeholder owncloud url
Diffstat (limited to 'src/crashreporter')
-rw-r--r--src/crashreporter/CrashReporterConfig.h.in2
-rw-r--r--src/crashreporter/main.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/crashreporter/CrashReporterConfig.h.in b/src/crashreporter/CrashReporterConfig.h.in
index a20095172..3dcda4b78 100644
--- a/src/crashreporter/CrashReporterConfig.h.in
+++ b/src/crashreporter/CrashReporterConfig.h.in
@@ -9,4 +9,6 @@
#define CRASHREPORTER_VERSION_STRING "@MIRALL_VERSION_STRING@"
+#define CRASHREPORTER_SUBMIT_URL "http://crash-reports.owncloud.org/submit"
+
#endif // CRASHREPORTERCONFIG_H
diff --git a/src/crashreporter/main.cpp b/src/crashreporter/main.cpp
index 84a4cde3e..4b9908691 100644
--- a/src/crashreporter/main.cpp
+++ b/src/crashreporter/main.cpp
@@ -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);