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

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksplash/ksplashx
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2010-06-21 16:47:53
Message-ID: 20100621164753.A5217AC8DA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1140846 by lunakl:

disable choosing resolution with the best matching aspect ratio,
in order to match plasma which doesn't care



 M  +4 -0      splash.cpp  


--- trunk/KDE/kdebase/workspace/ksplash/ksplashx/splash.cpp #1140845:1140846
@@ -231,10 +231,14 @@
         }
     if( w == NULL || h == NULL ) // no scaling possible
         return "";
+#if 0 // disable for now in order to match plasma's selection mechanism
     const char* ret = findFileHelper( name, w, h, locolor, false, geom );
     if( ret == NULL || *ret == '\0' )
         ret = findFileHelper( name, w, h, locolor, true, geom );
     return ret;
+#else
+    return findFileHelper( name, w, h, locolor, true, geom );
+#endif
     }
 
 // returns a pointer to a static !
[prev in list] [next in list] [prev in thread] [next in thread] 

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