diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-30 20:40:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-30 22:21:04 +0900 |
commit | a71726c715a9552c74592e57b00de75aa4f3bb05 (patch) | |
tree | f10b570dd40ce30e67e7a5b4e7cec5c397c70a2a /libkonq | |
parent | 218009e6d69d283e343988f229d070b9768a5757 (diff) | |
download | tdebase-a71726c715a9552c74592e57b00de75aa4f3bb05.tar.gz tdebase-a71726c715a9552c74592e57b00de75aa4f3bb05.zip |
konqueror: add option to enable/disable using double click to navitage to the parent folder. This resolves issue #329
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f3ddd5b7cd91574ac67d6c5dcf1c40093285d200)
Diffstat (limited to 'libkonq')
-rw-r--r-- | libkonq/konq_settings.cpp | 2 | ||||
-rw-r--r-- | libkonq/konq_settings.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libkonq/konq_settings.cpp b/libkonq/konq_settings.cpp index 41460e8ae..fe61d150a 100644 --- a/libkonq/konq_settings.cpp +++ b/libkonq/konq_settings.cpp @@ -121,6 +121,8 @@ void KonqFMSettings::init( TDEConfig * config ) /// true if TQString::localeAwareCompare is case sensitive (it usually isn't, when LC_COLLATE is set) d->localeAwareCompareIsCaseSensitive = TQString( "a" ).localeAwareCompare( "B" ) > 0; // see #40131 + + m_doubleClickMoveToParent = config->readBoolEntry("DoubleClickMoveToParent", true); } bool KonqFMSettings::shouldEmbed( const TQString & serviceType ) const diff --git a/libkonq/konq_settings.h b/libkonq/konq_settings.h index daca8babe..52e9ac3b6 100644 --- a/libkonq/konq_settings.h +++ b/libkonq/konq_settings.h @@ -81,12 +81,13 @@ public: bool underlineLink() const { return m_underlineLink; } bool fileSizeInBytes() const { return m_fileSizeInBytes; } bool alwaysNewWin() const { return m_alwaysNewWin; } + bool doubleClickMoveToParent() const { return m_doubleClickMoveToParent; } const TQString & homeURL() const { return m_homeURL; } bool showFileTips() const {return m_showFileTips; } bool showPreviewsInFileTips() const; int numFileTips() const {return m_numFileTips; } - bool renameIconDirectly() const; + bool renameIconDirectly() const; // Font settings const TQFont& standardFont() const { return m_standardFont; } @@ -107,7 +108,7 @@ private: bool m_underlineLink; bool m_fileSizeInBytes; bool m_alwaysNewWin; - bool m_bTreeFollow; + bool m_doubleClickMoveToParent; TQMap<TQString, TQString> m_embedMap; |