summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-27 21:28:15 +0900
committerMichele Calgaro <[email protected]>2023-08-31 09:54:38 +0900
commit8e1816900bb891be1f9e1268e2971d2e151e23a9 (patch)
treeb17c08a6298a7bb7c11ce75e06b417ecdfd52723 /kcontrol
parenteb0d989c939662a38265ff9116989080a3082cc5 (diff)
downloadtdebase-8e1816900bb891be1f9e1268e2971d2e151e23a9.tar.gz
tdebase-8e1816900bb891be1f9e1268e2971d2e151e23a9.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 014f6d2586905e03681aa6fb9a85c2c8190e53f4)
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/input/mouse.h1
-rw-r--r--kcontrol/kcontrol/proxywidget.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/kcontrol/input/mouse.h b/kcontrol/input/mouse.h
index d6d8f6d11..7db5fbf91 100644
--- a/kcontrol/input/mouse.h
+++ b/kcontrol/input/mouse.h
@@ -85,7 +85,6 @@ public:
bool reverseScrollPolarity;
#ifdef HAVE_LIBUSB
- // TODO: In Qt4, replace with a better container.
TQPtrList <LogitechMouse> logitechMouseList;
#endif
};
diff --git a/kcontrol/kcontrol/proxywidget.cpp b/kcontrol/kcontrol/proxywidget.cpp
index 893c75d7a..da8d0173d 100644
--- a/kcontrol/kcontrol/proxywidget.cpp
+++ b/kcontrol/kcontrol/proxywidget.cpp
@@ -256,12 +256,8 @@ ProxyWidget::ProxyWidget(TDECModule *client, TQString title, const char *name,
ProxyWidget::~ProxyWidget()
{
-#ifdef USE_QT4
- #warning Possible memory leak in ProxyWidget::~ProxyWidget()
-#else // USE_QT4
if (_client) delete _client;
_client = 0;
-#endif // USE_QT4
}
TQString ProxyWidget::quickHelp() const