summaryrefslogtreecommitdiffstats
path: root/src/newui/button.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 19:39:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-28 16:10:53 +0900
commit07a12d6eb21cce4cd735de6b4a4a17cce152f6a8 (patch)
tree68012ffbb56cb0f0023b257591f3e2218827fda9 /src/newui/button.cpp
parentf9e07649d38f3ec8c2c599c0ba65a288e8eac5e0 (diff)
downloadtdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.tar.gz
tdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/newui/button.cpp')
-rw-r--r--src/newui/button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newui/button.cpp b/src/newui/button.cpp
index fc8bf826..3220533e 100644
--- a/src/newui/button.cpp
+++ b/src/newui/button.cpp
@@ -60,7 +60,7 @@ Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
m_clearAccelAction = new TDEAction(i18n("Clear Accelerator"), 0,
this, TQ_SLOT(clearAccel()), this);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("UI");
TQString accel = config->readEntry(TQString("button_%1").arg(text), "");
if (!accel.isEmpty())
@@ -70,7 +70,7 @@ Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
Button::~Button()
{
// m_buttonBar->removeButton(this);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("UI");
TQRegExp r("^&([0-9])\\s.*");