diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-15 08:17:36 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-15 08:17:36 -0400 |
commit | 9010b1d10b2242d965dc8b66fa7616fe302adfd3 (patch) | |
tree | 258844017183b4dc588a92f9135b149f4f897d36 /src-qt5/desktop-utils/lumina-fm/gitWizard.cpp | |
parent | Add in the new Git Cloning Wizard. Now fully finished yet, but almost there. (diff) | |
download | lumina-9010b1d10b2242d965dc8b66fa7616fe302adfd3.tar.gz lumina-9010b1d10b2242d965dc8b66fa7616fe302adfd3.tar.bz2 lumina-9010b1d10b2242d965dc8b66fa7616fe302adfd3.zip |
Fix a couple compile errors in lumina-fm.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/gitWizard.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/gitWizard.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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(); } |