Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 73869 | Differences between
and this patch

Collapse All | Expand All

(-)konqueror/konq_mainwindow.cc (-9 / +11 lines)
Lines 2113-2118 KonqView * KonqMainWindow::childView( KP Link Here
2113
    QString viewName = view->viewName();
2113
    QString viewName = view->viewName();
2114
    kdDebug() << "       - viewName=" << viewName << "   "
2114
    kdDebug() << "       - viewName=" << viewName << "   "
2115
              << "frame names:" << view->frameNames().join( "," ) << endl;
2115
              << "frame names:" << view->frameNames().join( "," ) << endl;
2116
2117
    // First look for a hostextension containing this frame name
2118
    KParts::BrowserHostExtension *ext = KParts::BrowserHostExtension::childObject( view->part() );
2119
    if ( ext )
2120
    {
2121
      ext = ext->findFrameParent(callingPart, name);
2122
      kdDebug() << "BrowserHostExtension found part " << ext << endl;
2123
      if (!ext)
2124
         continue; // Don't use this window
2125
    }
2126
2116
    if ( !viewName.isEmpty() && viewName == name )
2127
    if ( !viewName.isEmpty() && viewName == name )
2117
    {
2128
    {
2118
      kdDebug() << "found existing view by name: " << view << endl;
2129
      kdDebug() << "found existing view by name: " << view << endl;
Lines 2123-2137 KonqView * KonqMainWindow::childView( KP Link Here
2123
      return view;
2134
      return view;
2124
    }
2135
    }
2125
2136
2126
    // First look for a hostextension containing this frame name
2127
    KParts::BrowserHostExtension *ext = KParts::BrowserHostExtension::childObject( view->part() );
2128
    if ( ext )
2129
    {
2130
      ext = ext->findFrameParent(callingPart, name);
2131
    }
2132
    
2133
//    KParts::BrowserHostExtension* ext = KonqView::hostExtension( view->part(), name );
2134
2135
    if ( ext )
2137
    if ( ext )
2136
    {
2138
    {
2137
      QPtrList<KParts::ReadOnlyPart> frames = ext->frames();
2139
      QPtrList<KParts::ReadOnlyPart> frames = ext->frames();

Return to bug 73869