mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-06 20:05:12 +08:00
Removed unused author field
CURA-12400
This commit is contained in:
parent
b26e70aa09
commit
a4e5a07fc1
@ -9,7 +9,6 @@ class OpenSourceDependency(QObject):
|
||||
def __init__(self, name, data):
|
||||
super().__init__()
|
||||
self._name = name
|
||||
self._author = data['author'] if data['author'] is not None else ''
|
||||
self._version = data['version'] if data['version'] is not None else ''
|
||||
self._summary = data['summary'] if data['summary'] is not None else ''
|
||||
self._license = data['license'] if data['license'] is not None and len(data['license']) > 0 else name
|
||||
@ -20,10 +19,6 @@ class OpenSourceDependency(QObject):
|
||||
def name(self):
|
||||
return self._name
|
||||
|
||||
@pyqtProperty(str, constant=True)
|
||||
def author(self):
|
||||
return self._author
|
||||
|
||||
@pyqtProperty(str, constant=True)
|
||||
def version(self):
|
||||
return self._version
|
||||
|
Loading…
x
Reference in New Issue
Block a user