summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-04 08:21:38 -0600
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:22:57 +0100
commitd528ffc8c80e074065156df6d12d50f56c9bf7d8 (patch)
treeba9e835df3b3220efe00459c8f6b217246107cf4 /kdeui
parent0120c1cd3eb25a81596130c92f639e695f0690f5 (diff)
downloadtdelibs-d528ffc8c80e074065156df6d12d50f56c9bf7d8.tar.gz
tdelibs-d528ffc8c80e074065156df6d12d50f56c9bf7d8.zip
Don't slow execution just because TDEAction::plugAccel was used
(cherry picked from commit 7dee44aa033d3a0d3f3e57bc2bfc3c1b2ab9013b)
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kaction.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdeui/kaction.cpp b/kdeui/kaction.cpp
index 270c00ec4..de8145362 100644
--- a/kdeui/kaction.cpp
+++ b/kdeui/kaction.cpp
@@ -772,9 +772,11 @@ void KAction::unplug( TQWidget *w )
void KAction::plugAccel(KAccel *kacc, bool configurable)
{
+#if 0 //ndef NDEBUG
kdWarning(129) << "KAction::plugAccel(): call to deprecated action." << endl;
kdDebug(129) << kdBacktrace() << endl;
//kdDebug(129) << "KAction::plugAccel( kacc = " << kacc << " ): name \"" << name() << "\"" << endl;
+#endif
if ( d->m_kaccel )
unplugAccel();
@@ -795,7 +797,11 @@ void KAction::plugAccel(KAccel *kacc, bool configurable)
//connect(d->m_kaccel, TQT_SIGNAL(keycodeChanged()), this, TQT_SLOT(slotKeycodeChanged()));
}
else
+ {
+#if 0 //ndef NDEBUG
kdWarning(129) << "KAction::plugAccel( kacc = " << kacc << " ): KAccel object already contains an action name \"" << name() << "\"" << endl; // -- ellis
+#endif
+ }
}
void KAction::unplugAccel()