|
|
@ -1306,7 +1306,7 @@ void KuickShow::slotReplayEvent()
|
|
|
|
// ### WORKAROUND for TQIconView bug in TQt <= 3.0.3 at least
|
|
|
|
// ### WORKAROUND for TQIconView bug in TQt <= 3.0.3 at least
|
|
|
|
if ( fileWidget && fileWidget->view() ) {
|
|
|
|
if ( fileWidget && fileWidget->view() ) {
|
|
|
|
TQWidget *widget = fileWidget->view()->widget();
|
|
|
|
TQWidget *widget = fileWidget->view()->widget();
|
|
|
|
if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
|
|
|
|
if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
|
|
|
|
fileWidget->setSorting( fileWidget->sorting() );
|
|
|
|
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.
|
|
|
|
// rely on sorting to be correct before the TQIconView has been show()n.
|
|
|
|
if ( fileWidget && fileWidget->view() ) {
|
|
|
|
if ( fileWidget && fileWidget->view() ) {
|
|
|
|
TQWidget *widget = fileWidget->view()->widget();
|
|
|
|
TQWidget *widget = fileWidget->view()->widget();
|
|
|
|
if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
|
|
|
|
if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
|
|
|
|
fileWidget->setSorting( fileWidget->sorting() );
|
|
|
|
fileWidget->setSorting( fileWidget->sorting() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|