diff options
| author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-02-06 12:38:43 +0000 |
|---|---|---|
| committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-02-06 12:38:43 +0000 |
| commit | d50619c6d2a51b3ab355e72f8a877aa5dc6af3a7 (patch) | |
| tree | f961e38b9b398fb23bf914f933ef7512ed9a9ebd /x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp | |
| parent | Add kdelibs-nocups, a cups-disabled version of kdelibs. This port/package (diff) | |
More cups-fixes and a patch that prevents konqueror from resetting
preview settings when changing icon-sizes.
Diffstat (limited to 'x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp')
| -rw-r--r-- | x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp b/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp new file mode 100644 index 000000000000..7fe3246c2149 --- /dev/null +++ b/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp @@ -0,0 +1,14 @@ +--- kcontrol/konq/previews.cpp.orig Sun Oct 26 11:46:25 2003 ++++ kcontrol/konq/previews.cpp Thu Jan 27 10:16:32 2005 +@@ -153,6 +153,11 @@ + + for ( ; it.current() ; ++it ) { + QString protocol( it.current()->text() ); ++ if ( ( protocol == "file" ) && ( !group.hasKey ( protocol ) ) ) ++ // file should be enabled in case is not defined because if not so ++ // than preview's lost when size is changed from default one ++ it.current()->setOn( true ); ++ else + it.current()->setOn( group.readBoolEntry( protocol, false ) ); + } + // config key is in bytes (default value 1MB), numinput is in MB |
