Skip to content

Commit

Permalink
Added donation button (Closes #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-poidevin committed May 16, 2017
1 parent bae1aef commit 5c02365
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
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;
}
1 change: 1 addition & 0 deletions mainwindow.h
Original file line number Diff line number Diff line change
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 comments on commit 5c02365

@spadfa
Copy link

@spadfa spadfa commented on 5c02365 Aug 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Julian,

In relation to this, I think a PayPal donate button on your wiki would provide many more donations as I wasn't comfortable with tipee attempting to preauthorise any payments with a one off payment and I also had to sign up and give date of birth. Their signup through google also wanted control of my youtube account. I don't mean to complain but it would deter people in my opinion.

Thanks.

@julian-poidevin
Copy link
Owner Author

@julian-poidevin julian-poidevin commented on 5c02365 Aug 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spadfa You're right, just created a new issue : #82

Please sign in to comment.