Lines 1061-1067
void KonqMainWindow::slotCreateNewWindow
Link Here
|
1061 |
if ( !args.frameName.isEmpty() && args.frameName.lower() != "_blank" ) |
1061 |
if ( !args.frameName.isEmpty() && args.frameName.lower() != "_blank" ) |
1062 |
{ |
1062 |
{ |
1063 |
KParts::BrowserHostExtension *hostExtension = 0; |
1063 |
KParts::BrowserHostExtension *hostExtension = 0; |
1064 |
if ( findChildView( 0, args.frameName, &mainWindow, &hostExtension, &part ) ) |
1064 |
KParts::ReadOnlyPart *ro_part = 0L; |
|
|
1065 |
KParts::BrowserExtension *be = ::qt_cast<KParts::BrowserExtension *>(sender()); |
1066 |
if (be) |
1067 |
ro_part = ::qt_cast<KParts::ReadOnlyPart *>(be->parent()); |
1068 |
if ( findChildView( ro_part, args.frameName, &mainWindow, &hostExtension, &part ) ) |
1065 |
{ |
1069 |
{ |
1066 |
// Found a view. If url isn't empty, we should open it - but this never happens currently |
1070 |
// Found a view. If url isn't empty, we should open it - but this never happens currently |
1067 |
// findChildView put the resulting part in 'part', so we can just return now |
1071 |
// findChildView put the resulting part in 'part', so we can just return now |