summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2011-09-02 13:58:57 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-09-02 13:58:57 +0200
commit4d8cd11179e6cca162efe650d308124dc7aefb14 (patch)
tree5d4c44e03c5856d6287dac4ad6942fbf0ebdeb99 /src/gui/text/qrawfont.h
parent106a896b2e9326b25a704ed683bca5ee739e7c78 (diff)
micro optimizations
use an inlined version of isValid() everywhere; don't detach where is non required; get rid of extra checks where possible Merge-request: 1343 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r--src/gui/text/qrawfont.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h
index 1edbf4a56e..cf7799661e 100644
--- a/src/gui/text/qrawfont.h
+++ b/src/gui/text/qrawfont.h
@@ -135,9 +135,6 @@ public:
private:
friend class QRawFontPrivate;
-
- void detach();
-
QExplicitlySharedDataPointer<QRawFontPrivate> d;
};