mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: move report_info and SSRF_INFO to errorhelper.h
qthelper.h is an absolute monstrosity and it is unclear what report_info and SSRF_INFO have to do with Qt. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d653cec7a4
commit
fcf0bda042
6 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "messagehandlermodel.h"
|
||||
#include "core/qthelper.h"
|
||||
#include "core/errorhelper.h"
|
||||
#include "QRegularExpression"
|
||||
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||
|
@ -62,6 +62,7 @@ const QString MessageHandlerModel::logAsString()
|
|||
copyString += data.message + "\n";
|
||||
return copyString;
|
||||
}
|
||||
|
||||
QVariant MessageHandlerModel::data(const QModelIndex& idx, int role) const
|
||||
{
|
||||
switch(role) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue