[Bug 70118] The width of the window is going more and more

Jens Dagerbo jens.dagerbo at swipnet.se
Thu Apr 22 23:55:07 UTC 2004


------- 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=70118      
jens.dagerbo swipnet se changed:

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



------- Additional Comments From jens.dagerbo swipnet se  2004-04-22 22:08 -------
CVS commit by dagerbo: 

Not pretty, but it solves it.

CCMAIL: 70118-done bugs kde org


  M +3 -2      appwizarddlg.cpp   1.68


--- kdevelop/parts/appwizard/appwizarddlg.cpp  #1.67:1.68
 @ -47,5 +47,5  @
 #include <kfile.h>
 #include <kapplication.h>
-
+#include <kstringhandler.h> 
 #include <ktrader.h>
 #include <kparts/componentfactory.h>
 @ -596,5 +596,6  @ void AppWizardDialog::projectLocationCha
   // Jakob Simon-Gaarde: Got tired of the anoying bug with the appname/location confussion.
   // This version insures WYSIWYG and checks pathvalidity
-  finalLoc_label->setText(dest_edit->url() + (dest_edit->url().right(1)=="/" ? "":"/") + appname_edit->text().lower());
+  QString temp( dest_edit->url() + (dest_edit->url().right(1)=="/" ? "":"/") + appname_edit->text().lower() );
+  finalLoc_label->setText( KStringHandler::csqueeze( temp, 60 ) );
   QDir qd(dest_edit->url());
   QFileInfo fi(dest_edit->url() + "/" + appname_edit->text().lower());




More information about the KDevelop-devel mailing list