Diffstat (limited to 'noncore/styles/liquid/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/plugin.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/noncore/styles/liquid/plugin.cpp b/noncore/styles/liquid/plugin.cpp index 0740420..6813fc5 100644 --- a/noncore/styles/liquid/plugin.cpp +++ b/noncore/styles/liquid/plugin.cpp | |||
@@ -56,29 +56,24 @@ void LiquidInterface::reject ( ) | |||
56 | 56 | ||
57 | 57 | ||
58 | QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) | 58 | QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) |
59 | { | 59 | { |
60 | *iface = 0; | 60 | *iface = 0; |
61 | 61 | ||
62 | if ( uuid == IID_QUnknown ) | 62 | if ( uuid == IID_QUnknown ) |
63 | *iface = this; | 63 | *iface = this; |
64 | else if ( uuid == IID_Style ) | 64 | else if ( uuid == IID_Style ) |
65 | *iface = this; | 65 | *iface = this; |
66 | else if ( uuid == IID_StyleExtended ) | 66 | else if ( uuid == IID_StyleExtended ) |
67 | *iface = this; | 67 | *iface = this; |
68 | 68 | ||
69 | if ( *iface ) | 69 | if ( *iface ) |
70 | (*iface)-> addRef ( ); | 70 | (*iface)-> addRef ( ); |
71 | 71 | ||
72 | return QS_OK; | 72 | return QS_OK; |
73 | } | 73 | } |
74 | 74 | ||
75 | Q_EXPORT_INTERFACE() | 75 | Q_EXPORT_INTERFACE() |
76 | { | 76 | { |
77 | Q_CREATE_INSTANCE( LiquidInterface ) | 77 | Q_CREATE_INSTANCE( LiquidInterface ) |
78 | } | 78 | } |
79 | 79 | ||
80 | |||
81 | |||
82 | |||
83 | // Hack for Retail Z experiments | ||
84 | extern "C" { QStyle *allocate ( ) { return new LiquidStyle ( ); } } | ||