diff --git a/mainwindow.cpp b/mainwindow.cpp index fa05468..ce26138 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -31,11 +31,12 @@ MainWindow::MainWindow(QWidget *parent) : connect(_vkeyinit2,SIGNAL(status(QString)),this,SLOT(status(QString))); connect(_vkeyinit2,SIGNAL(finished()),this,SLOT(init2Finished())); - ui->radioButtonQualityape->setEnabled(false); - ui->radioButtonQualityflac->setEnabled(false); + //ui->radioButtonQualityape->setEnabled(false); + //ui->radioButtonQualityflac->setEnabled(false); ui->pushButtonDownload->setEnabled(false); - vkeyinit->init(); + //vkeyinit->init(); + _vkeyinit2->init(); @@ -54,8 +55,9 @@ void MainWindow::initFinished() void MainWindow::init2Finished() { - ui->radioButtonQualityape->setEnabled(true); - ui->radioButtonQualityflac->setEnabled(true); + //ui->radioButtonQualityape->setEnabled(true); + //ui->radioButtonQualityflac->setEnabled(true); + ui->pushButtonDownload->setEnabled(true); } void MainWindow::status(QString inString) diff --git a/musicDownloader.pro b/musicDownloader.pro index 10f328e..173d9a9 100644 --- a/musicDownloader.pro +++ b/musicDownloader.pro @@ -69,7 +69,7 @@ FORMS += \ thanks.ui \ proxyform.ui -VERSION = 1.6.0 +VERSION = 1.6.1 QMAKE_TARGET_PRODUCT = QQMusic&NeteaseMusicDownloader QMAKE_TARGET_COMPANY = z52c diff --git a/musicDownloader.pro.user b/musicDownloader.pro.user index 8f7000a..95020fe 100644 --- a/musicDownloader.pro.user +++ b/musicDownloader.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/qqmusicsong.cpp b/qqmusicsong.cpp index f638fd8..5a021c6 100644 --- a/qqmusicsong.cpp +++ b/qqmusicsong.cpp @@ -149,18 +149,18 @@ void qqMusicSong::getSongLink() { if(size320==0 || songQuality == 1) { - mp3Link=QString(DOWNLOADLINKHEAD)+QString("M500")+mediaMid+QString(".mp3")+QString(DOWNLOADLINKMID)+vkey+QString(DOWNLOADLINKGUID)+guid+QString(DOWNLOADLINKTAIL); + mp3Link=QString(NDOWNLOADLINKHEAD)+QString("M500")+mediaMid+QString(".mp3")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); return ; } if(sizeape==0 || songQuality == 2) { - mp3Link=QString(DOWNLOADLINKHEAD)+QString("M800")+mediaMid+QString(".mp3")+QString(DOWNLOADLINKMID)+vkey+QString(DOWNLOADLINKGUID)+guid+QString(DOWNLOADLINKTAIL); + mp3Link=QString(NDOWNLOADLINKHEAD)+QString("M800")+mediaMid+QString(".mp3")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); } switch (songQuality) { case 2: - mp3Link=QString(DOWNLOADLINKHEAD)+QString("M800")+mediaMid+QString(".mp3")+QString(DOWNLOADLINKMID)+vkey+QString(DOWNLOADLINKGUID)+guid+QString(DOWNLOADLINKTAIL); + mp3Link=QString(NDOWNLOADLINKHEAD)+QString("M800")+mediaMid+QString(".mp3")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); break; case 3: mp3Link=QString(NDOWNLOADLINKHEAD)+QString("F000")+mediaMid+QString(".flac")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); @@ -169,7 +169,7 @@ void qqMusicSong::getSongLink() mp3Link=QString(NDOWNLOADLINKHEAD)+QString("A000")+mediaMid+QString(".ape")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); break; default: - mp3Link=QString(DOWNLOADLINKHEAD)+QString("M500")+mediaMid+QString(".mp3")+QString(DOWNLOADLINKMID)+vkey+QString(DOWNLOADLINKGUID)+guid+QString(DOWNLOADLINKTAIL); + mp3Link=QString(NDOWNLOADLINKHEAD)+QString("M500")+mediaMid+QString(".mp3")+QString(NDOWNLOADLINKMID)+vkey2+QString(NDOWNLOADLINKTAIL); break; } }