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

List:       kde-commits
Subject:    kdebase/konsole/konsole
From:       Kurt Hindenburg <kurt.hindenburg () kdemail ! net>
Date:       2005-04-05 14:20:42
Message-ID: 20050405142042.A77AF63E () office ! kde ! org
[Download RAW message or body]

CVS commit by hindenburg: 

Use defaultfont for newSessions font


  M +4 -1      konsole.cpp   1.531


--- kdebase/konsole/konsole/konsole.cpp  #1.530:1.531
@@ -1456,4 +1456,7 @@ void Konsole::saveProperties(KConfig* co
   if (!s_workDir.isEmpty())
     config->writePathEntry("workdir", s_workDir);
+
+  // Set the new default font
+  defaultFont = se->widget()->getVTFont();
 }
 
@@ -2569,5 +2572,5 @@ QString Konsole::newSession(KSimpleConfi
   QString txt;
   QString cwd;
-  QFont font = KGlobalSettings::fixedFont(); // Use defaultfont instead?
+  QFont font = defaultFont;
   QStrList cmdArgs;
 


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

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