[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: qt-copy/src/kernel
From: David Faure <faure () kde ! org>
Date: 2002-12-16 18:52:00
[Download RAW message or body]
CVS commit by faure:
For people with Xft: shave 3% off the time taken by the QApplication constructor.
(Patch sent to TT, together with a suggestion to construct QSettings only once
in all)
M +1 -1 qfont_x11.cpp 1.75
--- qt-copy/src/kernel/qfont_x11.cpp #1.74:1.75
@@ -2901,5 +2901,5 @@ void QFont::initialize()
QSettings settings;
qt_has_xft = settings.readBoolEntry( "/qt/enableXft", TRUE );
- qt_use_antialiasing = QSettings().readBoolEntry( "/qt/useXft", TRUE );
+ qt_use_antialiasing = settings.readBoolEntry( "/qt/useXft", TRUE );
}
#endif // QT_NO_XFTFREETYPE
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic