yolobs-studio/debian/patches/0001-Use-common-license.patch

26 lines
877 B
Diff
Raw Normal View History

2016-02-23 23:30:24 +00:00
From: =?utf-8?q?Carl_F=C3=BCrstenberg?= <azatoth@gmail.com>
Date: Tue, 6 Jan 2015 23:12:30 +0100
Subject: Use common license
use common license at /usr/share/common-licenses instead of the shipped
copy
---
2017-04-19 19:47:41 +00:00
UI/window-license-agreement.cpp | 4 +---
2016-02-23 23:30:24 +00:00
1 file changed, 1 insertion(+), 3 deletions(-)
2017-04-19 19:47:41 +00:00
diff --git a/UI/window-license-agreement.cpp b/UI/window-license-agreement.cpp
index a7a5f3b..60cad40 100644
2016-10-10 19:16:06 +00:00
--- a/UI/window-license-agreement.cpp
+++ b/UI/window-license-agreement.cpp
2017-04-19 19:47:41 +00:00
@@ -13,9 +13,7 @@ OBSLicenseAgreement::OBSLicenseAgreement(QWidget *parent)
2016-02-23 23:30:24 +00:00
{
ui->setupUi(this);
- string path;
- if (!GetDataFilePath("license/gplv2.txt", path))
- throw "Could not find license file";
+ string path("/usr/share/common-licenses/GPL-2");
BPtr<char> licenseText = os_quick_read_utf8_file(path.c_str());
if (!licenseText || !*licenseText || strlen(licenseText) < 1000)