Skip to content

Commit

Permalink
Merge branch 'release/v0.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-poidevin committed May 20, 2017
2 parents 60f962b + 17846e7 commit b6c6de7
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
12 changes: 10 additions & 2 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
3 changes: 2 additions & 1 deletion mainwindow.h
Original file line number Diff line number Diff line change
@@ -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 <QMainWindow>
Expand Down Expand Up @@ -52,6 +52,7 @@ private slots:
void on_restoreButton_clicked();
void on_gitHubButton_clicked();
void on_versionButton_clicked();
void on_pushButton_clicked();

void exit();

Expand Down
19 changes: 19 additions & 0 deletions mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,25 @@
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>-10</x>
<y>181</y>
<width>113</width>
<height>32</height>
</rect>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>♥ Donate</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
Expand Down
2 changes: 1 addition & 1 deletion ressource/Readme deploy and release
Original file line number Diff line number Diff line change
@@ -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
sudo qt-release -v VERSION -t vVERSION ./ressource/MBPMid2010-GPU-Fix-client_mac.ini

0 comments on commit b6c6de7

Please sign in to comment.