Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QDebugStream.hpp

    re0b5f0 r4d6d6a  
    1515
    1616#include <QTextEdit>
     17#include <QDebug>
    1718
    1819#include <ostream>
     
    4142  {
    4243    // output anything that is left
    43     if (!m_string.empty())
     44    if (!m_string.empty()) {
    4445      log_window->append(m_string.c_str());
     46      qDebug() << m_string.c_str();
     47    }
    4548
    4649    m_stream.rdbuf(m_old_buf);
     
    5255    if (v == '\n') {
    5356      log_window->append(m_string.c_str());
     57      qDebug() << m_string.c_str();
    5458      m_string.erase(m_string.begin(), m_string.end());
    5559    } else
     
    6973        std::string tmp(m_string.begin(), m_string.begin() + pos);
    7074        log_window->append(tmp.c_str());
     75        qDebug() << tmp.c_str();
    7176        m_string.erase(m_string.begin(), m_string.begin() + pos + 1);
    7277      }
Note: See TracChangeset for help on using the changeset viewer.