summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/kuickshow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commit6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245 (patch)
tree210e6ed3b487f4112a2911f0330311dcce787211 /kuickshow/src/kuickshow.cpp
parent507b8d425002104d5b9bd2df6968638b181af11e (diff)
downloadtdegraphics-6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245.tar.gz
tdegraphics-6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuickshow/src/kuickshow.cpp')
-rw-r--r--kuickshow/src/kuickshow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kuickshow/src/kuickshow.cpp b/kuickshow/src/kuickshow.cpp
index 570e626b..5504d01d 100644
--- a/kuickshow/src/kuickshow.cpp
+++ b/kuickshow/src/kuickshow.cpp
@@ -1306,7 +1306,7 @@ void KuickShow::slotReplayEvent()
// ### WORKAROUND for TQIconView bug in Qt <= 3.0.3 at least
if ( fileWidget && fileWidget->view() ) {
TQWidget *widget = fileWidget->view()->widget();
- if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
+ if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
fileWidget->setSorting( fileWidget->sorting() );
}
}
@@ -1320,7 +1320,7 @@ void KuickShow::replayAdvance(DelayedRepeatEvent *event)
// rely on sorting to be correct before the TQIconView has been show()n.
if ( fileWidget && fileWidget->view() ) {
TQWidget *widget = fileWidget->view()->widget();
- if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
+ if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
fileWidget->setSorting( fileWidget->sorting() );
}
}