summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dolphindetailsview.cpp2
-rw-r--r--src/dolphiniconsview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 09765da..3738426 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -498,7 +498,7 @@ void DolphinDetailsView::slotActivationUpdate()
TQObjectListIterator it(list);
TQObject* object = 0;
while ((object = it.current()) != 0) {
- if (object->inherits(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (object->inherits("TQWidget")) {
TQWidget* widget = TQT_TQWIDGET(object);
widget->update();
}
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp
index 6ad371a..8d6dc1a 100644
--- a/src/dolphiniconsview.cpp
+++ b/src/dolphiniconsview.cpp
@@ -456,7 +456,7 @@ void DolphinIconsView::slotActivationUpdate()
TQObjectListIterator it(list);
TQObject* object = 0;
while ((object = it.current()) != 0) {
- if (object->inherits(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (object->inherits("TQWidget")) {
TQWidget* widget = TQT_TQWIDGET(object);
widget->update();
}