Removing donation stuff
This commit is contained in:
@@ -108,11 +108,10 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
// Set up exit action
|
// Set up exit action
|
||||||
QObject::connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
|
QObject::connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
|
||||||
|
|
||||||
// Set up Feedback action
|
// Telegram
|
||||||
//QObject::connect(ui->actionDonate, &QAction::triggered, this, &MainWindow::donate);
|
|
||||||
|
|
||||||
QObject::connect(ui->actionTelegram, &QAction::triggered, this, &MainWindow::telegram);
|
QObject::connect(ui->actionTelegram, &QAction::triggered, this, &MainWindow::telegram);
|
||||||
|
|
||||||
|
// Website
|
||||||
QObject::connect(ui->actionWebsite, &QAction::triggered, this, &MainWindow::website);
|
QObject::connect(ui->actionWebsite, &QAction::triggered, this, &MainWindow::website);
|
||||||
|
|
||||||
// File a bug
|
// File a bug
|
||||||
@@ -919,19 +918,7 @@ void MainWindow::website() {
|
|||||||
QDesktopServices::openUrl(QUrl(url));
|
QDesktopServices::openUrl(QUrl(url));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::doImport(QList<QString>* keys) {
|
||||||
void MainWindow::donate() {
|
|
||||||
ui->Address1->setText(Settings::getDonationAddr());
|
|
||||||
ui->Address1->setCursorPosition(0);
|
|
||||||
ui->Amount1->setText("0.00");
|
|
||||||
ui->MemoTxt1->setText(tr("Some feedback about SilentDragonlite or Hush..."));
|
|
||||||
ui->statusBar->showMessage(tr("Send some private and shielded feedback about") % Settings::getTokenName() % tr(" or SilentDragonLite"));
|
|
||||||
|
|
||||||
// And switch to the send tab.
|
|
||||||
ui->tabWidget->setCurrentIndex(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::doImport(QList<QString>* keys) {
|
|
||||||
if (rpc->getConnection() == nullptr) {
|
if (rpc->getConnection() == nullptr) {
|
||||||
// No connection, just return
|
// No connection, just return
|
||||||
return;
|
return;
|
||||||
@@ -972,7 +959,7 @@ void MainWindow::donate() {
|
|||||||
tr("Privatkey should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n");
|
tr("Privatkey should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Callback invoked when the RPC has finished loading all the balances, and the UI
|
// Callback invoked when the RPC has finished loading all the balances, and the UI
|
||||||
// is now ready to send transactions.
|
// is now ready to send transactions.
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
<item row="0" column="0" colspan="2">
|
<item row="0" column="0" colspan="2">
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>3</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab_6">
|
<widget class="QWidget" name="tab_6">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@@ -1931,7 +1931,6 @@
|
|||||||
<property name="title">
|
<property name="title">
|
||||||
<string>&Help</string>
|
<string>&Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionDonate"/>
|
|
||||||
<addaction name="actionTelegram"/>
|
<addaction name="actionTelegram"/>
|
||||||
<addaction name="actionWebsite"/>
|
<addaction name="actionWebsite"/>
|
||||||
<addaction name="actionCheck_for_Updates"/>
|
<addaction name="actionCheck_for_Updates"/>
|
||||||
|
|||||||
@@ -362,14 +362,6 @@ QString Settings::getTokenName() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Settings::getDonationAddr() {
|
|
||||||
if (Settings::getInstance()->isTestnet())
|
|
||||||
return "ztestsaplingXXX";
|
|
||||||
else
|
|
||||||
return "zs1fq9f7vg797qaeac9lyx0njyjmjg4w7m60hwq6lhyhvdcqltl5hdkm8vwx9cxy60ehuuz2x49jxt";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
CAmount Settings::getMinerFee() {
|
CAmount Settings::getMinerFee() {
|
||||||
return CAmount::fromqint64(10000);
|
return CAmount::fromqint64(10000);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user