From 27a2ceb28778b95886327108e336248599e665f4 Mon Sep 17 00:00:00 2001 From: crowning- Date: Sat, 4 Jul 2015 15:29:21 +0200 Subject: [PATCH] Popup information on first mixing --- src/qt/overviewpage.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 137012522..05e94c40e 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #define DECORATION_SIZE 48 @@ -455,6 +456,15 @@ void OverviewPage::darksendReset(){ } void OverviewPage::toggleDarksend(){ + QSettings settings; + // Popup some information on first mixing + QString hasMixed = settings.value("hasMixed").toString(); + if(hasMixed.isEmpty()){ + QMessageBox::information(this, tr("Darksend"), + tr("If you don't want to see internal Darksend fees/transactions select \"Most Common\" as Type on the \"Transactions\" tab."), + QMessageBox::Ok, QMessageBox::Ok); + settings.setValue("hasMixed", "hasMixed"); + } if(!fEnableDarksend){ int64_t balance = pwalletMain->GetBalance(); float minAmount = 1.49 * COIN;