From 9010b1d10b2242d965dc8b66fa7616fe302adfd3 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 15 Sep 2016 08:17:36 -0400 Subject: Fix a couple compile errors in lumina-fm. --- src-qt5/desktop-utils/lumina-fm/gitWizard.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src-qt5/desktop-utils/lumina-fm/gitWizard.cpp') diff --git a/src-qt5/desktop-utils/lumina-fm/gitWizard.cpp b/src-qt5/desktop-utils/lumina-fm/gitWizard.cpp index 042f3c89..f6d6f3b3 100644 --- a/src-qt5/desktop-utils/lumina-fm/gitWizard.cpp +++ b/src-qt5/desktop-utils/lumina-fm/gitWizard.cpp @@ -36,6 +36,8 @@ QString GitWizard::assembleURL(){ void GitWizard::showDownload(QProcess *P){ + + P->deleteLater(); } //================ @@ -68,8 +70,8 @@ void GitWizard::finished(int res){ //qDebug() << "Got Finished:" << res; if(res == QDialog::Accepted){ qDebug() << "Run git clone"; - QString url = assembleUrl(); - QString branch; if(ui->check_brach->isChecked()){ branch = ui->line_branch->text(); } + QString url = assembleURL(); + QString branch; if(ui->check_branch->isChecked()){ branch = ui->line_branch->text(); } int depth = -1; if(ui->check_depth->isChecked()){ depth = ui->spin_depth->value(); } QProcess *proc = GIT::setupClone(inDir, url, branch, depth); if(proc!=0){ @@ -77,5 +79,5 @@ void GitWizard::finished(int res){ } } - this->deleteLater(); + //this->deleteLater(); } -- cgit