viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

  1. #ifndef EDITCATEGORYDIALOG_H
  2. #define EDITCATEGORYDIALOG_H
  3.  
  4. #include <QDialog>
  5.  
  6. namespace Ui {
  7. class EditCategoryDialog;
  8. }
  9.  
  10. namespace Larss {
  11.  
  12. class EditCategoryDialog : public QDialog
  13. {
  14. Q_OBJECT
  15.  
  16. public:
  17. explicit EditCategoryDialog(QWidget *parent = 0);
  18. ~EditCategoryDialog();
  19.  
  20. /**
  21.   * @brief Get the name of the category to be created.
  22.   */
  23. QString getCategoryName();
  24.  
  25. private:
  26. Ui::EditCategoryDialog *ui;
  27. };
  28.  
  29. }
  30.  
  31. #endif // EDITCATEGORYDIALOG_H