[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/tests/proxymodeltestapp
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2010-07-02 9:38:41
Message-ID: 20100702093841.9C980AC8EB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1145231 by skelly:

Use the memory address instead of the pId as a unique id.

Allows multiple loggers per process.

 M  +1 -1      descendantpmwidget.cpp  


--- trunk/KDE/kdelibs/kdeui/tests/proxymodeltestapp/descendantpmwidget.cpp #1145230:1145231
@@ -131,7 +131,7 @@
 
 DescendantProxyModelWidget::~DescendantProxyModelWidget()
 {
-  QString logFileName = QString("main.%1.cpp").arg(QApplication::applicationPid());
+  QString logFileName = QString("main.%1.cpp").arg(reinterpret_cast<qint64>(m_rootModel));
   kDebug() << "Writing to " << logFileName;
   QFile outputFile(logFileName);
   const bool logFileOpened = outputFile.open(QFile::WriteOnly | QFile::Text);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic