diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c543a9..734199f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # CHANGELOG +## 0.5.0 (May 21st, 2017) +#### Features +* Added donation button ([#17](https://github.com/julian-poidevin/MBPMid2010_GPUFix/issues/17)) + +#### Notes +* Clarified password dialog label + ## 0.4.0 (May 15th, 2017) #### Features * Added application version to main windows ([#20](https://github.com/julian-poidevin/MBPMid2010_GPUFix/issues/20)) diff --git a/mainwindow.cpp b/mainwindow.cpp index 60eea27..d31c29e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -33,7 +33,7 @@ void MainWindow::on_patchButton_clicked() QString command; QInputDialog *passwordDialog; passwordDialog = new QInputDialog; - QString passwordDialogLabel = "Password :"; + QString passwordDialogLabel = "Enter User Password :"; bool isErrorPatching=false; //Search kext file @@ -65,7 +65,7 @@ void MainWindow::on_patchButton_clicked() if(errorOutput.contains("try again")) { qDebug() << "Wrong password, try again.\n"; - passwordDialogLabel="Wrong password, try again.\nPassword :"; + passwordDialogLabel="Wrong password, try again.\nEnter User Password :"; } #else ok = 1; @@ -829,3 +829,11 @@ void MainWindow::on_versionButton_clicked() return; } + +void MainWindow::on_pushButton_clicked() +{ + QString link = "https://www.tipeee.com/MBPMid2010_GPUFix"; + QDesktopServices::openUrl(QUrl(link)); + + return; +} diff --git a/mainwindow.h b/mainwindow.h index aed2e16..641267b 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -1,7 +1,7 @@ #ifndef MAINWINDOW_H #define MAINWINDOW_H -#define VERSION "0.4.0" +#define VERSION "0.5.0" #define APP_NAME "MBPMid2010-GPU-Fix" #include @@ -52,6 +52,7 @@ private slots: void on_restoreButton_clicked(); void on_gitHubButton_clicked(); void on_versionButton_clicked(); + void on_pushButton_clicked(); void exit(); diff --git a/mainwindow.ui b/mainwindow.ui index 83c2b05..bf32244 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -113,6 +113,25 @@ true + + + + -10 + 181 + 113 + 32 + + + + + + + ♥ Donate + + + true + + diff --git a/ressource/Readme deploy and release b/ressource/Readme deploy and release index cfe724f..c671731 100644 --- a/ressource/Readme deploy and release +++ b/ressource/Readme deploy and release @@ -1,2 +1,2 @@ qt-deploy -v VERSION --deploy ressource/MBPMid2010-GPU-Fix-client_mac.ini -sudo qt-release -v VERSION -t VERSION ./ressource/MBPMid2010-GPU-Fix-client_mac.ini \ No newline at end of file +sudo qt-release -v VERSION -t vVERSION ./ressource/MBPMid2010-GPU-Fix-client_mac.ini