diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 08:21:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 08:21:38 -0600 |
commit | 7dee44aa033d3a0d3f3e57bc2bfc3c1b2ab9013b (patch) | |
tree | 072a093f4f00debdf10a849e2d5ab6c8d3a71c5b | |
parent | 7b66a28f379f5838b67e55b4dbf7960fef2f5b8e (diff) | |
download | tdelibs-7dee44aa033d3a0d3f3e57bc2bfc3c1b2ab9013b.tar.gz tdelibs-7dee44aa033d3a0d3f3e57bc2bfc3c1b2ab9013b.zip |
Don't slow execution just because TDEAction::plugAccel was used
-rw-r--r-- | tdeui/tdeaction.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tdeui/tdeaction.cpp b/tdeui/tdeaction.cpp index 6f29ab848..a0c5a2aaa 100644 --- a/tdeui/tdeaction.cpp +++ b/tdeui/tdeaction.cpp @@ -772,9 +772,11 @@ void TDEAction::unplug( TQWidget *w ) void TDEAction::plugAccel(TDEAccel *kacc, bool configurable) { +#if 0 //ndef NDEBUG kdWarning(129) << "TDEAction::plugAccel(): call to deprecated action." << endl; kdDebug(129) << kdBacktrace() << endl; //kdDebug(129) << "TDEAction::plugAccel( kacc = " << kacc << " ): name \"" << name() << "\"" << endl; +#endif if ( d->m_tdeaccel ) unplugAccel(); @@ -795,7 +797,11 @@ void TDEAction::plugAccel(TDEAccel *kacc, bool configurable) //connect(d->m_tdeaccel, TQT_SIGNAL(keycodeChanged()), this, TQT_SLOT(slotKeycodeChanged())); } else + { +#if 0 //ndef NDEBUG kdWarning(129) << "TDEAction::plugAccel( kacc = " << kacc << " ): TDEAccel object already contains an action name \"" << name() << "\"" << endl; // -- ellis +#endif + } } void TDEAction::unplugAccel() |