From 97a3d431ba9e33a3e256955755b23a55a9a9ea05 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 28 Dec 2004 06:35:27 +0000 Subject: patch fixing #1500 - wrong disconnect, from Seneca --- diff --git a/noncore/apps/tinykate/mainwindow/tinykate.cpp b/noncore/apps/tinykate/mainwindow/tinykate.cpp index 30c07fc..8d19c71 100644 --- a/noncore/apps/tinykate/mainwindow/tinykate.cpp +++ b/noncore/apps/tinykate/mainwindow/tinykate.cpp @@ -226,11 +226,11 @@ void TinyKate::slotCurrentChanged( QWidget * view) if (currentView) { - disconnect(editCopy,SIGNAL(activated()),currentView,SLOT(copy())); - disconnect(editCut,SIGNAL(activated()),currentView,SLOT(cut())); - disconnect(editPaste,SIGNAL(activated()),currentView,SLOT(paste())); - disconnect(editUndo,SIGNAL(activated()),currentView,SLOT(undo())); - disconnect(editRedo,SIGNAL(activated()),currentView,SLOT(redo())); + disconnect(editCopy,SIGNAL(clicked()),currentView,SLOT(copy())); + disconnect(editCut,SIGNAL(clicked()),currentView,SLOT(cut())); + disconnect(editPaste,SIGNAL(clicked()),currentView,SLOT(paste())); + disconnect(editUndo,SIGNAL(clicked()),currentView,SLOT(undo())); + disconnect(editRedo,SIGNAL(clicked()),currentView,SLOT(redo())); disconnect(viewIncFontSizes,SIGNAL(activated()), currentView,SLOT(slotIncFontSizes())); disconnect(viewDecFontSizes,SIGNAL(activated()), currentView,SLOT(slotDecFontSizes())); disconnect(hlmenu,SIGNAL(activated(int)), currentView,SLOT(setHl(int))); -- cgit v0.9.0.2