OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../jahshaka/qt-stl.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- jahshaka/source/Jahshaka/JahWidgets/jahfileloader/dirview.cpp_orig 2006-05-17 15:01:32.449986750 +0200
  17. +++ jahshaka/source/Jahshaka/JahWidgets/jahfileloader/dirview.cpp 2006-05-17 15:03:25.409046250 +0200
  18. @@ -1029,7 +1029,7 @@
  19. box->setSpacing(15);
  20. di->setCaption( "New collection" );
  21. int choice = di->exec();
  22. - const std::string thename = le->text();
  23. + const std::string thename = le->text().ascii();
  24. bool ok = true;
  25. if ( le->text().stripWhiteSpace().length() == 0 || le->text().contains( QRegExp( "[^a-zA-Z0-9_\\s]" ) ) )
  26. @@ -1079,7 +1079,7 @@
  27. lab->setText( "Enter a new name for the collection.\nNames must be unique.");
  28. QLineEdit *le = new QLineEdit( di );
  29. box->addWidget( le );
  30. - std::string curname = dir->text(0, false);
  31. + std::string curname = dir->text(0, false).ascii();
  32. le->setText( QString(curname.c_str() ) );
  33. le->selectAll();
  34. QPushButton *pb = new QPushButton( di );
  35. @@ -1092,7 +1092,7 @@
  36. box->setSpacing(15);
  37. di->setCaption( "Rename collection" );
  38. int choice = di->exec();
  39. - const std::string thename = le->text();
  40. + const std::string thename = le->text().ascii();
  41. bool ok = true;
  42. if ( le->text().contains( QRegExp( "[^a-zA-Z0-9_\\s]" ) ) )
  43. @@ -1123,7 +1123,7 @@
  44. if ( dir->dirType() != Directory::Collection )
  45. return;
  46. - std::string curname = dir->text(0, false);
  47. + std::string curname = dir->text(0, false).ascii();
  48. bool ok = true;