Merge pull request 'Remove exchange tab' (#5) from w0wz0rz/wowlet:rename into master

Reviewed-on: https://git.wownero.com/wowlet/wowlet/pulls/5
This commit is contained in:
wowlet 2021-02-22 21:12:40 +00:00
commit 10be6d49cb
5 changed files with 0 additions and 35 deletions

View file

@ -393,9 +393,6 @@ void MainWindow::initMenu() {
m_tabShowHideMapper["Calc"] = new ToggleTab(ui->tabCalc, "Calc", "Calc", ui->actionShow_calc, Config::showTabCalc);
m_tabShowHideSignalMapper->setMapping(ui->actionShow_calc, "Calc");
ui->actionShow_Exchange->setVisible(false);
ui->tabWidget->setTabVisible(Tabs::EXCHANGES, false);
#if defined(HAS_XMRIG)
connect(ui->actionShow_XMRig, &QAction::triggered, m_tabShowHideSignalMapper, QOverload<>::of(&QSignalMapper::map));
m_tabShowHideMapper["Mining"] = new ToggleTab(ui->tabXmrRig, "Mining", "Mining", ui->actionShow_XMRig, Config::showTabXMRig);

View file

@ -77,7 +77,6 @@ public:
RECEIVE,
COINS,
CALC,
EXCHANGES,
XMRIG
};

View file

@ -301,29 +301,6 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tabExchange">
<attribute name="icon">
<iconset resource="assets.qrc">
<normaloff>:/assets/images/update.png</normaloff>:/assets/images/update.png</iconset>
</attribute>
<attribute name="title">
<string>Exchange</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
<widget class="QWidget" name="tabXmrRig">
<attribute name="icon">
<iconset resource="assets.qrc">
@ -464,7 +441,6 @@
<addaction name="actionShow_Home"/>
<addaction name="actionShow_Coins"/>
<addaction name="actionShow_calc"/>
<addaction name="actionShow_Exchange"/>
<addaction name="actionShow_XMRig"/>
</widget>
<addaction name="menuFile"/>
@ -703,11 +679,6 @@
<string>Import transaction</string>
</property>
</action>
<action name="actionShow_Exchange">
<property name="text">
<string>Show Exchange</string>
</property>
</action>
<action name="actionRescan_spent">
<property name="text">
<string>Rescan spent</string>

View file

@ -38,7 +38,6 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
{Config::useOnionNodes,{QS("useOnionNodes"), false}},
{Config::showTabHome,{QS("showTabHome"), true}},
{Config::showTabCoins,{QS("showTabCoins"), false}},
{Config::showTabExchange, {QS("showTabExchange"), false}},
{Config::showTabXMRig,{QS("showTabXMRig"), false}},
{Config::showTabCalc,{QS("showTabCalc"), false}},
{Config::geometry, {QS("geometry"), {}}},

View file

@ -40,7 +40,6 @@ public:
useOnionNodes,
showTabHome,
showTabCoins,
showTabExchange,
showTabCalc,
showTabXMRig,
geometry,