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

List:       kde-commits
Subject:    KDE/kdelibs (silent)
From:       David Faure <faure () kde ! org>
Date:       2009-03-19 23:21:47
Message-ID: 1237504907.741206.31791.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 941565 by dfaure:

SVN_SILENT cleanups


 M  +1 -1      kdecore/io/kurl.cpp  
 M  +0 -10     kdeui/kernel/kglobalsettings.cpp  


--- trunk/KDE/kdelibs/kdecore/io/kurl.cpp #941564:941565
@@ -571,7 +571,7 @@
 
 bool KUrl::operator==( const KUrl& _u ) const
 {
-  return QUrl::operator==( _u );;
+  return QUrl::operator==( _u );
 }
 
 bool KUrl::operator==( const QString& _u ) const
--- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #941564:941565
@@ -44,7 +44,6 @@
 #include <QtGui/QKeySequence>
 #include <QtGui/QPixmap>
 #include <QtGui/QPixmapCache>
-//#include <q3stylesheet.h> // no equivalent in Qt4
 #include <QApplication>
 #include <QtDBus/QtDBus>
 #include <QtGui/QStyleFactory>
@@ -954,15 +953,6 @@
         QApplication::setFont( menuFont, "QMenu" );
         QApplication::setFont( menuFont, "KPopupTitle" );
         QApplication::setFont( data->font(KGlobalSettingsData::ToolbarFont), "QToolBar" );
-
-#if 0
-        // "patch" standard QStyleSheet to follow our fonts
-        Q3StyleSheet* sheet = Q3StyleSheet::defaultSheet();
-        const QFont fixedFont = data->font( KGlobalSettingsData::FixedFont );
-        sheet->item( QLatin1String("pre"))->setFontFamily(fixedFont.family() );
-        sheet->item( QLatin1String("code"))->setFontFamily(fixedFont.family() );
-        sheet->item( QLatin1String("tt"))->setFontFamily(fixedFont.family() );
-#endif
     }
     emit q->kdisplayFontChanged();
     emit q->appearanceChanged();
[prev in list] [next in list] [prev in thread] [next in thread] 

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