human
Solve the following python programming problem given the following code:
def executePipelineWithProgress(pipeline, pTitle = 'Pipeline Execution', pCaption = 'Executing...', pCancel = '&Cancel', **kwargs) : 
    ' executePipelineWithProgress(pipeline: Pipeline,
                                    pTitle: str, pCaption: str, pCancel: str,
                                    kwargs: keyword arguments) -> bool
    Execute the pipeline while showing a progress dialog with title
    pTitle, caption pCaption and the cancel button text
    pCancel. kwargs is the keyword arguments that will be passed to
    the interpreter. A bool will be returned indicating if the
    execution was performed without cancel or not.

    ' 
    withoutCancel = True 
    totalProgress = len (pipeline.modules) 
    progress = QtGui.QProgressDialog (pCaption, pTitle, 0, totalProgress) 
    progress.setWindowTitle (pTitle) 
    progress.setWindowModality (QtCore.Qt.WindowModal) 
    progress.show () 
    def moduleExecuted(objId) : 
        if (not progress.wasCanceled ()) : 
            progress.setValue ((progress.value () + 1)) 
            QtCore.QCoreApplication.processEvents () 
else : 
            withoutCancel = False 
interpreter = get_default_interpreter () 
    if kwargs.has_key ('module_executed_hook') : 
        kwargs ['module_executed_hook'].append (moduleExecuted) 
else : 
        kwargs ['module_executed_hook'] = [moduleExecuted] 
kwargs ['view'] = DummyView () 
    interpreter.execute (pipeline, ** kwargs) 
    progress.setValue (totalProgress) 
    return withoutCancel 

    
    

    Fix the buggy line: progress = QtGui.QProgressDialog (pCaption, pTitle, 0, totalProgress)
assistant
#Here is Python program to fix the buggy line: progress = QtGui.

progress = QtGui.QProgressDialog (pCaption, pCancel, 0, totalProgress)