diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-14 13:33:27 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-14 13:33:27 -0500 |
commit | fde9147dfb80f0cbc42191a6cf713189db50926d (patch) | |
tree | ca0c1f86443f388c676c736e06083775f3f9a940 /clients/tde/src/part | |
parent | c66aeafbcf4d55a2c75988b8c7cc7c926c2638ba (diff) | |
download | ulab-fde9147dfb80f0cbc42191a6cf713189db50926d.tar.gz ulab-fde9147dfb80f0cbc42191a6cf713189db50926d.zip |
Remove spurious files and lock client MDI to standard mode
Diffstat (limited to 'clients/tde/src/part')
-rwxr-xr-x | clients/tde/src/part/commanalyzer/layout_test.ui | 68 | ||||
-rw-r--r-- | clients/tde/src/part/commanalyzer/part.cpp | 10 |
2 files changed, 6 insertions, 72 deletions
diff --git a/clients/tde/src/part/commanalyzer/layout_test.ui b/clients/tde/src/part/commanalyzer/layout_test.ui deleted file mode 100755 index 243649d..0000000 --- a/clients/tde/src/part/commanalyzer/layout_test.ui +++ /dev/null @@ -1,68 +0,0 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>CommAnalyzerBase</class> -<widget class="TQWidget"> - <property name="name"> - <cstring>CommAnalyzerBase</cstring> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>519</width> - <height>356</height> - </rect> - </property> - <property name="caption"> - <string>CommAnalyzerBase</string> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQTabWidget" row="0" column="0"> - <property name="name"> - <cstring>TabWidget2</cstring> - </property> - <property name="enabled"> - <bool>true</bool> - </property> - <widget class="TQWidget"> - <property name="name"> - <cstring>tab</cstring> - </property> - <attribute name="title"> - <string>Spectrum Analyzer</string> - </attribute> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQGroupBox" row="0" column="0"> - <property name="name"> - <cstring>groupSpectrumAnalyzer</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>7</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>Spectrum Analyzer</string> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - </grid> - </widget> - </grid> - </widget> - </widget> - </grid> -</widget> -<layoutdefaults spacing="3" margin="6"/> -<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> -</UI> diff --git a/clients/tde/src/part/commanalyzer/part.cpp b/clients/tde/src/part/commanalyzer/part.cpp index 3fd89eb..592e64d 100644 --- a/clients/tde/src/part/commanalyzer/part.cpp +++ b/clients/tde/src/part/commanalyzer/part.cpp @@ -79,10 +79,12 @@ bool CommAnalyzerPart::openURL(const KURL &url) { } bool CommAnalyzerPart::closeURL() { - m_socket->close(); - - while (m_socket->state() != TQSocket::Idle) { - tqApp->processEvents(); + if (m_socket) { + m_socket->close(); + + while (m_socket->state() != TQSocket::Idle) { + tqApp->processEvents(); + } } m_url = KURL(); |