[Bug 61994] Compile File fails to compile some filenames

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Tue Aug 19 10:54:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=61994     
amilcar at ida.ing.tu-bs.de changed:

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



------- Additional Comments From amilcar at ida.ing.tu-bs.de  2003-08-19 10:52 -------
Subject: kdevelop/parts

CVS commit by aclu: 

Take the complete filename base up to the last dot to determine the file name
of the target. Fix BR 61994 for auto custom and troll project managers 

Thank Andreas Koepfle (koepfle in ti.uni-mannheim.de) for the patch
CCMAIL: 61994-done at bugs.kde.org


  M +1 -1      autoproject/autoprojectpart.cpp   1.108
  M +1 -1      customproject/customprojectpart.cpp   1.59
  M +1 -1      trollproject/trollprojectwidget.cpp   1.116


--- kdevelop/parts/autoproject/autoprojectpart.cpp  #1.107:1.108
@@ -722,5 +722,5 @@ void AutoProjectPart::slotCompileFile()
     QFileInfo fi(fileName);
     QString sourceDir = fi.dirPath();
-    QString baseName = fi.baseName();
+    QString baseName = fi.baseName(true);
     kdDebug(9020) << "Compiling " << fileName
                   << " in dir " << sourceDir

--- kdevelop/parts/customproject/customprojectpart.cpp  #1.58:1.59
@@ -500,5 +500,5 @@ void CustomProjectPart::slotCompileFile(
     QFileInfo fi(fileName);
     QString sourceDir = fi.dirPath();
-    QString baseName = fi.baseName();
+    QString baseName = fi.baseName(true);
     kdDebug(9020) << "Compiling " << fileName
                   << "in dir " << sourceDir

--- kdevelop/parts/trollproject/trollprojectwidget.cpp  #1.115:1.116
@@ -2604,5 +2604,5 @@ void TrollProjectWidget::slotBuildFile()
     QFileInfo fi(fileName);
     QString sourceDir = fi.dirPath();
-    QString baseName = fi.baseName();
+    QString baseName = fi.baseName(true);
     kdDebug(9020) << "Compiling " << fileName
                   << "in dir " << sourceDir




More information about the KDevelop-devel mailing list