]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/ktooltip.cpp
revert fix for bug 167044 - although the crash is fixed the autoscroll does not work...
[dolphin.git] / src / ktooltip.cpp
index bf607d0ecf8219fdd79ff1961e92e68c861ecb97..3c1da3fba409fd2d5f23c798087467cc9a95286a 100644 (file)
 #include "ktooltip_p.h"
 
 
+// compile with XShape older than 1.0
+#ifndef ShapeInput
+const int ShapeInput = 2;
+#endif
+
 
 class KToolTipItemPrivate
 {
@@ -64,6 +69,7 @@ KToolTipItem::KToolTipItem(const QIcon &icon, const QString &text, int type)
 
 KToolTipItem::~KToolTipItem()
 {
+    delete d;
 }
 
 int KToolTipItem::type() const
@@ -417,7 +423,7 @@ void ArgbLabel::hideTip()
 KToolTipManager *KToolTipManager::s_instance = 0;
 
 KToolTipManager::KToolTipManager()
-       : label(0), currentItem(0)
+       : label(0), currentItem(0), m_delegate(0)
 {
 #ifdef Q_WS_X11
     Display *dpy      = QX11Info::display();