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

List:       kde-commits
Subject:    KDE/kdevplatform/shell
From:       Hamish Rodda <rodda () kde ! org>
Date:       2008-04-14 15:00:56
Message-ID: 1208185256.426548.13633.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 796932 by rodda:

Fix issue with text view where hasWidget was erroneously returning false


 M  +5 -0      textdocument.cpp  
 M  +1 -0      textdocument.h  


--- trunk/KDE/kdevplatform/shell/textdocument.cpp #796931:796932
@@ -356,4 +356,9 @@
     return "Text";
 }
 
+bool KDevelop::TextView::hasWidget() const
+{
+    return d->m_view;
+}
+
 #include "textdocument.moc"
--- trunk/KDE/kdevplatform/shell/textdocument.h #796931:796932
@@ -75,6 +75,7 @@
     virtual ~TextView();
 
     virtual QWidget *widget(QWidget *parent = 0);
+    virtual bool hasWidget() const;
 
     virtual QString viewState() const;
     virtual void setState(const QString& state);
[prev in list] [next in list] [prev in thread] [next in thread] 

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