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

List:       kde-bugs-dist
Subject:    [Bug 148131] QMake manager: ui.h file not shown from .ui context menu
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-07-23 8:39:34
Message-ID: 20070723083934.28115.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=148131         
apaku gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From apaku gmx de  2007-07-23 10:39 -------
SVN commit 691261 by apaku:

Do not include .ui in the generated header file name, Qt3 uses foo.h.
BUG:148131


 M  +3 -2      trollprojectwidget.cpp  


--- branches/KDE/3.5/kdevelop/buildtools/qmake/trollprojectwidget.cpp #691260:691261
 @ -504,7 +504,7  @
     {
         QListViewItem* i = details->firstChild();
         while( i )
-        {
+	{
             QListViewItem* old = i;
             i = i->nextSibling();
             details->takeItem(old);
 @ -1771,8 +1771,9  @
         }
         else if ( r == idViewUIH )
         {
+            kdDebug(9024) << "Opening:" << fitem->text(0) << ";" << \
                fitem->text(0).replace(".ui","") << endl;
             m_part->partController() ->editDocument( KURL( \
                m_shownSubproject->scope->projectDir() + QString( QChar( \
                QDir::separator() ) ) +
-                    QString( fitem->text( 0 ) + ".h" ) ) );
+                    QString( fitem->text( 0 ).replace(".ui","") + ".h" ) ) );
 
         }
         else if ( r == idSubclassWidget )


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

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