mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	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:
		
						commit
						10be6d49cb
					
				
					 5 changed files with 0 additions and 35 deletions
				
			
		| 
						 | 
					@ -393,9 +393,6 @@ void MainWindow::initMenu() {
 | 
				
			||||||
    m_tabShowHideMapper["Calc"] = new ToggleTab(ui->tabCalc, "Calc", "Calc", ui->actionShow_calc, Config::showTabCalc);
 | 
					    m_tabShowHideMapper["Calc"] = new ToggleTab(ui->tabCalc, "Calc", "Calc", ui->actionShow_calc, Config::showTabCalc);
 | 
				
			||||||
    m_tabShowHideSignalMapper->setMapping(ui->actionShow_calc, "Calc");
 | 
					    m_tabShowHideSignalMapper->setMapping(ui->actionShow_calc, "Calc");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ui->actionShow_Exchange->setVisible(false);
 | 
					 | 
				
			||||||
    ui->tabWidget->setTabVisible(Tabs::EXCHANGES, false);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#if defined(HAS_XMRIG)
 | 
					#if defined(HAS_XMRIG)
 | 
				
			||||||
    connect(ui->actionShow_XMRig, &QAction::triggered, m_tabShowHideSignalMapper, QOverload<>::of(&QSignalMapper::map));
 | 
					    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);
 | 
					    m_tabShowHideMapper["Mining"] = new ToggleTab(ui->tabXmrRig, "Mining", "Mining", ui->actionShow_XMRig, Config::showTabXMRig);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -77,7 +77,6 @@ public:
 | 
				
			||||||
        RECEIVE,
 | 
					        RECEIVE,
 | 
				
			||||||
        COINS,
 | 
					        COINS,
 | 
				
			||||||
        CALC,
 | 
					        CALC,
 | 
				
			||||||
        EXCHANGES,
 | 
					 | 
				
			||||||
        XMRIG
 | 
					        XMRIG
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -301,29 +301,6 @@
 | 
				
			||||||
        </item>
 | 
					        </item>
 | 
				
			||||||
       </layout>
 | 
					       </layout>
 | 
				
			||||||
      </widget>
 | 
					      </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">
 | 
					      <widget class="QWidget" name="tabXmrRig">
 | 
				
			||||||
       <attribute name="icon">
 | 
					       <attribute name="icon">
 | 
				
			||||||
        <iconset resource="assets.qrc">
 | 
					        <iconset resource="assets.qrc">
 | 
				
			||||||
| 
						 | 
					@ -464,7 +441,6 @@
 | 
				
			||||||
    <addaction name="actionShow_Home"/>
 | 
					    <addaction name="actionShow_Home"/>
 | 
				
			||||||
    <addaction name="actionShow_Coins"/>
 | 
					    <addaction name="actionShow_Coins"/>
 | 
				
			||||||
    <addaction name="actionShow_calc"/>
 | 
					    <addaction name="actionShow_calc"/>
 | 
				
			||||||
    <addaction name="actionShow_Exchange"/>
 | 
					 | 
				
			||||||
    <addaction name="actionShow_XMRig"/>
 | 
					    <addaction name="actionShow_XMRig"/>
 | 
				
			||||||
   </widget>
 | 
					   </widget>
 | 
				
			||||||
   <addaction name="menuFile"/>
 | 
					   <addaction name="menuFile"/>
 | 
				
			||||||
| 
						 | 
					@ -703,11 +679,6 @@
 | 
				
			||||||
    <string>Import transaction</string>
 | 
					    <string>Import transaction</string>
 | 
				
			||||||
   </property>
 | 
					   </property>
 | 
				
			||||||
  </action>
 | 
					  </action>
 | 
				
			||||||
  <action name="actionShow_Exchange">
 | 
					 | 
				
			||||||
   <property name="text">
 | 
					 | 
				
			||||||
    <string>Show Exchange</string>
 | 
					 | 
				
			||||||
   </property>
 | 
					 | 
				
			||||||
  </action>
 | 
					 | 
				
			||||||
  <action name="actionRescan_spent">
 | 
					  <action name="actionRescan_spent">
 | 
				
			||||||
   <property name="text">
 | 
					   <property name="text">
 | 
				
			||||||
    <string>Rescan spent</string>
 | 
					    <string>Rescan spent</string>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,7 +38,6 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
 | 
				
			||||||
        {Config::useOnionNodes,{QS("useOnionNodes"), false}},
 | 
					        {Config::useOnionNodes,{QS("useOnionNodes"), false}},
 | 
				
			||||||
        {Config::showTabHome,{QS("showTabHome"), true}},
 | 
					        {Config::showTabHome,{QS("showTabHome"), true}},
 | 
				
			||||||
        {Config::showTabCoins,{QS("showTabCoins"), false}},
 | 
					        {Config::showTabCoins,{QS("showTabCoins"), false}},
 | 
				
			||||||
        {Config::showTabExchange, {QS("showTabExchange"), false}},
 | 
					 | 
				
			||||||
        {Config::showTabXMRig,{QS("showTabXMRig"), false}},
 | 
					        {Config::showTabXMRig,{QS("showTabXMRig"), false}},
 | 
				
			||||||
        {Config::showTabCalc,{QS("showTabCalc"), false}},
 | 
					        {Config::showTabCalc,{QS("showTabCalc"), false}},
 | 
				
			||||||
        {Config::geometry, {QS("geometry"), {}}},
 | 
					        {Config::geometry, {QS("geometry"), {}}},
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -40,7 +40,6 @@ public:
 | 
				
			||||||
        useOnionNodes,
 | 
					        useOnionNodes,
 | 
				
			||||||
        showTabHome,
 | 
					        showTabHome,
 | 
				
			||||||
        showTabCoins,
 | 
					        showTabCoins,
 | 
				
			||||||
        showTabExchange,
 | 
					 | 
				
			||||||
        showTabCalc,
 | 
					        showTabCalc,
 | 
				
			||||||
        showTabXMRig,
 | 
					        showTabXMRig,
 | 
				
			||||||
        geometry,
 | 
					        geometry,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue