fix: delete unused logic

This commit is contained in:
saturneric 2024-12-02 16:57:18 +01:00
parent 1e21563a8a
commit 27fb3bf50f
7 changed files with 7 additions and 245 deletions

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AddressListEditorDialog</class>
<widget class="QDialog" name="AddressListEditorDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>606</width>
<height>368</height>
</rect>
</property>
<property name="windowTitle">
<string>Address List Editor</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="titleLabel">
<property name="text">
<string>Address List</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="addressListWidget">
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::DoubleClicked|QAbstractItemView::EditTrigger::EditKeyPressed</set>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="isWrapping" stdset="0">
<bool>false</bool>
</property>
<property name="spacing">
<number>6</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="addAddressButton">
<property name="text">
<string>Add Address</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="tipsLabel">
<property name="text">
<string>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
<action name="actionDelete_Selected_Email_Address">
<property name="text">
<string>Delete Selected Email Address</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="de_DE"> <TS version="2.1" language="de_DE">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="en_US"> <TS version="2.1" language="en_US">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="fr_FR"> <TS version="2.1" language="fr_FR">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="it_IT"> <TS version="2.1" language="it_IT">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="zh_CN"> <TS version="2.1" language="zh_CN">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>
@ -81,37 +53,37 @@
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="183"/> <location filename="../EMailMetaDataDialog.cpp" line="183"/>
<source>The &apos;From&apos; field cannot be empty.</source> <source>The &apos;From&apos; field cannot be empty.</source>
<translation type="unfinished"></translation> <translation type="unfinished">&apos;&apos;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="185"/> <location filename="../EMailMetaDataDialog.cpp" line="185"/>
<source>The &apos;From&apos; field must contain a valid email address.</source> <source>The &apos;From&apos; field must contain a valid email address.</source>
<translation type="unfinished"></translation> <translation type="unfinished">&apos;&apos;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="189"/> <location filename="../EMailMetaDataDialog.cpp" line="189"/>
<source>The &apos;To&apos; field cannot be empty.</source> <source>The &apos;To&apos; field cannot be empty.</source>
<translation type="unfinished"></translation> <translation type="unfinished">&apos;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="193"/> <location filename="../EMailMetaDataDialog.cpp" line="193"/>
<source>One or more &apos;To&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source> <source>One or more &apos;To&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source>
<translation type="unfinished"></translation> <translation type="unfinished">&apos;&apos;&quot;;&quot;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="200"/> <location filename="../EMailMetaDataDialog.cpp" line="200"/>
<source>One or more &apos;CC&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source> <source>One or more &apos;CC&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"> &apos;&apos; &quot;;&quot;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="208"/> <location filename="../EMailMetaDataDialog.cpp" line="208"/>
<source>One or more &apos;BCC&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source> <source>One or more &apos;BCC&apos; addresses are invalid. Please separate multiple addresses with &quot;;&quot;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"> &apos;&apos; &quot;;&quot;</translation>
</message> </message>
<message> <message>
<location filename="../EMailMetaDataDialog.cpp" line="214"/> <location filename="../EMailMetaDataDialog.cpp" line="214"/>
<source>The &apos;Subject&apos; field cannot be empty.</source> <source>The &apos;Subject&apos; field cannot be empty.</source>
<translation type="unfinished"></translation> <translation type="unfinished">&apos;</translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="zh_TW"> <TS version="2.1" language="zh_TW">
<context>
<name>AddressListEditorDialog</name>
<message>
<location filename="../AddressListEditorDialog.ui" line="14"/>
<source>Address List Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="22"/>
<source>Address List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="45"/>
<source>Add Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="52"/>
<source>Tips: You can double-click the email address in the edit list, or click the email to pop up the option menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AddressListEditorDialog.ui" line="64"/>
<source>Delete Selected Email Address</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>EMailMetaDataDialog</name> <name>EMailMetaDataDialog</name>
<message> <message>