[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/konqueror
From:       Stephan Binner <binner () kde ! org>
Date:       2003-04-03 9:13:54
[Download RAW message or body]

CVS commit by binner: 

Unbreak newTabsinFront for "tab open delays when it can't reach website" fix.


  M +4 -3      konq_mainwindow.cc   1.1159


--- kdebase/konqueror/konq_mainwindow.cc  #1.1158:1.1159
@@ -451,9 +451,10 @@ void KonqMainWindow::openURL( KonqView *
 
   KonqView *view = _view;
-  if ( !view  && !req.newTab )
-    view = m_currentView; /* Note, this can be 0L, e.g. on startup */
-  else if ( !view && req.newTab ) {
     KConfig *config = KGlobal::config();
     KConfigGroupSaver cs( config, QString::fromLatin1("FMSettings") );
+  bool newTabsinFront= config->readBoolEntry( "NewTabsInFront", true );
+  if ( !view  && !req.newTab )
+    view = m_currentView; /* Note, this can be 0L, e.g. on startup */
+  else if ( !view && req.newTab && !newTabsinFront) {
     bool openAfterCurrentPage = config->readBoolEntry( "OpenAfterCurrentPage", false );
     view = m_pViewManager->addTab(QString::null,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic