Various compilation scripts & patches for Linux programs.
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.

53 lines
1.4 KiB

7 years ago
  1. --- a/src/main.cpp
  2. +++ b/src/main.cpp
  3. @@ -28,8 +28,6 @@
  4. int main(int argc, char* argv[])
  5. {
  6. QApplication* app = new QApplication(argc,argv);
  7. - QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
  8. - QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
  9. QString pro = "";
  10. if(argc == 2 && QFile::exists(QString(argv[1])))
  11. pro = argv[1];
  12. --- a/src/optimizerdialog.cpp
  13. +++ b/src/optimizerdialog.cpp
  14. @@ -32,9 +32,9 @@
  15. showBox->setChecked(set->value("show_optimizer",false).toBool());
  16. proc = new QProcess(this);
  17. - if(set->value("convert_exec","").toString().isEmpty())
  18. +/* if(set->value("convert_exec","").toString().isEmpty())
  19. set->setValue("convert_exec",findConvert());
  20. - checkIM();
  21. + checkIM();*/
  22. connect(closeButton, SIGNAL(clicked()), this, SLOT(close()));
  23. connect(srcButton, SIGNAL(clicked()), this, SLOT(setSrc()));
  24. @@ -179,7 +179,7 @@
  25. return s.split(";",QString::SkipEmptyParts);
  26. #endif
  27. }
  28. -
  29. +/*
  30. QString OptimizerDialog::findConvert()
  31. {
  32. QString exec =
  33. @@ -197,4 +197,4 @@
  34. return env.at(i)+exec;
  35. }
  36. return "";
  37. -}
  38. +}*/
  39. --- a/src/optimizerdialog.h
  40. +++ b/src/optimizerdialog.h
  41. @@ -37,7 +37,7 @@
  42. bool convertAvailable();
  43. void checkIM();
  44. QStringList sysEnv();
  45. - QString findConvert();
  46. +// QString findConvert();
  47. QProcess* proc;
  48. QSettings* set;
  49. private slots: