[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/standardoutputview
From:       Hamish Rodda <rodda () kde ! org>
Date:       2008-05-02 18:56:16
Message-ID: 1209754576.063180.27313.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 803399 by rodda:

Correct signal/slot connection


 M  +3 -1      standardoutputview.cpp  
 M  +2 -0      standardoutputview.h  


--- trunk/KDE/kdevplatform/plugins/standardoutputview/standardoutputview.cpp \
#803398:803399 @@ -90,7 +90,7 @@
     action->setShortcut( QKeySequence(Qt::SHIFT | Qt::Key_F4) );
     connect(action, SIGNAL(triggered(bool)), this, SIGNAL(selectPrevItem()));
 
-    connect(KDevelop::ICore::self()->uiController()->controller(), \
SIGNAL(aboutToRemoveView(View*)), this, SLOT(removeSublimeView(View*))); +    \
connect(KDevelop::ICore::self()->uiController()->controller(), \
SIGNAL(aboutToRemoveView(Sublime::View*)), this, \
SLOT(removeSublimeView(Sublime::View*)));  
 }
 
@@ -141,6 +141,8 @@
             break;
         }
     }
+
+    return -1;
 }
 
 int StandardOutputView::registerToolView( const QString& title,
--- trunk/KDE/kdevplatform/plugins/standardoutputview/standardoutputview.h \
#803398:803399 @@ -68,6 +68,8 @@
 
     virtual void removeToolView( int id );
     virtual void removeOutput( int id );
+
+public Q_SLOTS:
     void removeSublimeView( Sublime::View* );
 
 Q_SIGNALS:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic