testing, solved unhandled exception, conditions to restrict old message to be edited, license un some files that used to miss them

This commit is contained in:
Blue 2022-04-01 00:32:22 +03:00
parent 5f6691067a
commit 1fcd403dba
Signed by: blue
GPG key ID: 9B203B252A63EE38
17 changed files with 244 additions and 4 deletions

View file

@ -28,5 +28,6 @@ Utils::Exception::~Exception()
const char* Utils::Exception::what() const noexcept( true )
{
return getMessage().c_str();
std::string* msg = new std::string(getMessage());
return msg->c_str();
}

View file

@ -1,3 +1,21 @@
/*
* Squawk messenger.
* Copyright (C) 2019 Yury Gubich <blue@macaw.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "pathcheck.h"
QRegularExpression squawk("^squawk:\\/\\/");

View file

@ -1,3 +1,21 @@
/*
* Squawk messenger.
* Copyright (C) 2019 Yury Gubich <blue@macaw.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PATHCHECK_H
#define PATHCHECK_H