Skip to content
Snippets Groups Projects
Commit 704a4639 authored by jonymt's avatar jonymt
Browse files

[*] changed ifdef for Win

parent 66615cfd
No related branches found
No related tags found
1 merge request!8Features 2442
Pipeline #666 passed with stage
in 2 minutes and 45 seconds
...@@ -36,7 +36,8 @@ void DapChainHistoryHandler::onRequestNewHistory(const QMap<QString, QVariant>& ...@@ -36,7 +36,8 @@ void DapChainHistoryHandler::onRequestNewHistory(const QMap<QString, QVariant>&
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
reg_str = "(\\w{3}\\s\\w{3}\\s\\d+\\s\\d{1,2}:\\d{2}:\\d{2}\\s\\d{4})\\n" reg_str = "(\\w{3}\\s\\w{3}\\s\\d+\\s\\d{1,2}:\\d{2}:\\d{2}\\s\\d{4})\\n"
"\\s(\\w+)\\s(\\d+)\\s(\\w+)\\s\\w+\\s+(\\w+)"; "\\s(\\w+)\\s(\\d+)\\s(\\w+)\\s\\w+\\s+(\\w+)";
#elif Q_OS_WIN #endif
#ifdef Q_OS_WIN
reg_str = "(\\w{3}\\s\\w{3}\\s\\d+\\s\\d{1,2}:\\d{2}:\\d{2}\\s\\d{4})\\r\\n" reg_str = "(\\w{3}\\s\\w{3}\\s\\d+\\s\\d{1,2}:\\d{2}:\\d{2}\\s\\d{4})\\r\\n"
"\\s(\\w+)\\s(\\d+)\\s(\\w+)\\s\\w+\\s+(\\w+)"; "\\s(\\w+)\\s(\\d+)\\s(\\w+)\\s\\w+\\s+(\\w+)";
#endif #endif
......
#ifndef DAPCHAINHISTORYHANDLER_H #ifndef DAPCHAINHISTORYHANDLER_H
#define DAPCHAINHISTORYHANDLER_H #define DAPCHAINHISTORYHANDLER_H
#include <QtGlobal>
#include <QObject> #include <QObject>
#include <QVariantList> #include <QVariantList>
#include <QTimer> #include <QTimer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment