mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Applied requested changes proposed by @ninovanhooff
Fixed a couple of missed double quotes, trailing and leading spaces, to long comment lines
This commit is contained in:
parent
9b44ca37ef
commit
679739d09d
9 changed files with 27 additions and 28 deletions
|
|
@ -440,8 +440,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
def __setLatestResouceVersionsForVersionUpgrade(self):
|
||||
"""Initializes the version upgrade manager with by providing the paths for each resource type and the latest
|
||||
versions.
|
||||
"""
|
||||
versions. """
|
||||
|
||||
self._version_upgrade_manager.setCurrentVersions(
|
||||
{
|
||||
|
|
@ -645,7 +644,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
showMessageBox = pyqtSignal(str,str, str, str, int, int,
|
||||
arguments = ["title", "text", "informativeText", "detailedText","buttons", "icon"])
|
||||
""" A reusable dialogbox"""
|
||||
"""A reusable dialogbox"""
|
||||
|
||||
def messageBox(self, title, text,
|
||||
informativeText = "",
|
||||
|
|
@ -1873,7 +1872,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
@pyqtSlot(str, result=bool)
|
||||
def checkIsValidProjectFile(self, file_url):
|
||||
""" Checks if the given file URL is a valid project file. """
|
||||
"""Checks if the given file URL is a valid project file. """
|
||||
|
||||
file_path = QUrl(file_url).toLocalFile()
|
||||
workspace_reader = self.getWorkspaceFileHandler().getReaderForFile(file_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue