/[svn]/qsampler/trunk/src/qsamplerMessages.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMessages.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3758 by capela, Fri Mar 27 17:57:40 2020 UTC revision 3759 by capela, Sat Mar 28 00:28:13 2020 UTC
# Line 40  Line 40 
40  #endif  #endif
41    
42    
43    // Deprecated QTextStreamFunctions/Qt namespaces workaround.
44    #if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
45    #define endl    Qt::endl
46    #endif
47    
48    
49  namespace QSampler {  namespace QSampler {
50    
51  // The default maximum number of message lines.  // The default maximum number of message lines.
# Line 272  void Messages::setLogging ( bool bEnable Line 278  void Messages::setLogging ( bool bEnable
278  void Messages::appendMessagesLog ( const QString& s )  void Messages::appendMessagesLog ( const QString& s )
279  {  {
280          if (m_pMessagesLog) {          if (m_pMessagesLog) {
281                  QTextStream(m_pMessagesLog) << s << Qt::endl;                  QTextStream(m_pMessagesLog) << s << endl;
282                  m_pMessagesLog->flush();                  m_pMessagesLog->flush();
283          }          }
284  }  }

Legend:
Removed from v.3758  
changed lines
  Added in v.3759

  ViewVC Help
Powered by ViewVC