From 7657b6986a600ec1b3626c83e8f19036bf69e493 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 14 Aug 2004 15:43:08 +0000 Subject: Do not delete the parent in dtor, when the parent called you for destruction --- (limited to 'inputmethods') diff --git a/inputmethods/dasher/QtDasherPlugin.cc b/inputmethods/dasher/QtDasherPlugin.cc index f491769..50d4539 100644 --- a/inputmethods/dasher/QtDasherPlugin.cc +++ b/inputmethods/dasher/QtDasherPlugin.cc @@ -35,7 +35,7 @@ QSize QtDasherPlugin::sizeHint() const QtDasherPlugin::~QtDasherPlugin() { - delete d; + delete interface; } void QtDasherPlugin::resetState() diff --git a/inputmethods/dasher/QtDasherScreen.cc b/inputmethods/dasher/QtDasherScreen.cc index 2179cfb..b8a554c 100644 --- a/inputmethods/dasher/QtDasherScreen.cc +++ b/inputmethods/dasher/QtDasherScreen.cc @@ -77,10 +77,8 @@ long QtDasherScreen::get_time() } QtDasherScreen::~QtDasherScreen() -{ +{ delete painter; - delete interface; - delete edit; } QColor QtDasherScreen::getColor(int Color, const Opts::ColorSchemes ColorScheme) const -- cgit v0.9.0.2