Diffstat (limited to 'core/settings/launcher/tabssettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/launcher/tabssettings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp index e5a7087..5ac625b 100644 --- a/core/settings/launcher/tabssettings.cpp +++ b/core/settings/launcher/tabssettings.cpp @@ -145,2 +145,3 @@ void TabsSettings::readTabSettings ( Config &cfg ) + Config cfg2 = Config( "Launchersettings" ); @@ -150,2 +151,3 @@ void TabsSettings::readTabSettings ( Config &cfg ) cfg. setGroup ( grp. arg ( *it )); + cfg2. setGroup( grp. arg ( *it )); @@ -166,2 +168,3 @@ void TabsSettings::readTabSettings ( Config &cfg ) tc. m_bg_image = cfg. readEntry ( "BackgroundImage", tc. m_bg_image ); + tc. m_last_directory = cfg2.readEntry( "DefaultDir", "" ); tc. m_bg_color = cfg. readEntry ( "BackgroundColor", tc. m_bg_color ); @@ -202,2 +205,3 @@ void TabsSettings::accept ( ) Config cfg ( "Launcher" ); + Config cfg2 ( "Launchersettings" ); @@ -213,2 +217,3 @@ void TabsSettings::accept ( ) cfg. setGroup ( grp. arg ( *it )); + cfg2. setGroup ( grp. arg ( *it )); switch ( tc. m_view ) { @@ -228,2 +233,3 @@ void TabsSettings::accept ( ) cfg. writeEntry ( "TextColor", tc. m_text_color ); + cfg2. writeEntry ( "DefaultDir", tc.m_last_directory ); |