summaryrefslogtreecommitdiffstats
path: root/clients
diff options
context:
space:
mode:
Diffstat (limited to 'clients')
-rw-r--r--clients/tde/src/app/remotemdi.cpp6
-rw-r--r--clients/tde/src/part/fpgaview/part.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/clients/tde/src/app/remotemdi.cpp b/clients/tde/src/app/remotemdi.cpp
index 4c3cb20..8647145 100644
--- a/clients/tde/src/app/remotemdi.cpp
+++ b/clients/tde/src/app/remotemdi.cpp
@@ -141,6 +141,12 @@ void RemoteMDI::startModule() {
RemoteLab::InstrumentView* view = new RemoteLab::InstrumentView(st.clientLibrary, st.name, (mdiMode() == KMdi::ToplevelMode) ? 0 : this);
connect(view, SIGNAL(statusMessageSet(const TQString&)), this, SLOT(updateStatusBarWindowMessage(const TQString&)));
+ if (st.singleInstance) {
+ // RAJA FIXME
+ // Store the kaction and this view pointer both in a list
+ // Also remember to alter updateStatusBarWindowMessage to store the latest string for the active window and display properly
+ const_cast<KAction*>(sendingAction)->setEnabled(false);
+ }
openNewWindow(view);
if (m_serverHost != "") {
view->connectServer(m_serverHost);
diff --git a/clients/tde/src/part/fpgaview/part.h b/clients/tde/src/part/fpgaview/part.h
index b443aba..02d2773 100644
--- a/clients/tde/src/part/fpgaview/part.h
+++ b/clients/tde/src/part/fpgaview/part.h
@@ -92,7 +92,6 @@ class Q_EXPORT FPGA7Segment : public TQFrame
{
Q_OBJECT
Q_ENUMS(SegmentStyle)
- Q_PROPERTY(bool smallDecimalPoint READ smallDecimalPoint WRITE setSmallDecimalPoint)
Q_PROPERTY(SegmentStyle segmentStyle READ segmentStyle WRITE setSegmentStyle)
public: