<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][14780] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=14780">14780</a></dd>
<dt>Author</dt> <dd>jmesquita</dd>
<dt>Date</dt> <dd>2009-09-07 18:08:57 -0500 (Mon, 07 Sep 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix the model being used on consoleListView and fix horizontal scrollbar.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcfsguiappmanagercpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/fsgui/appmanager.cpp</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcinterfacesservermanagercpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.cpp</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcinterfacesservermanagerui">freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.ui</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginconsoletabwidgetcpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.cpp</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginconsoletabwidgetui">freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.ui</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginrealtimestatisticsdialogcpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/realtimestatisticsdialog.cpp</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginsortfilterproxymodelcpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.cpp</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginsortfilterproxymodelh">freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunkcontribjmesquitafsguisrcfsguiappmanagercpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/fsgui/appmanager.cpp (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/fsgui/appmanager.cpp        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/fsgui/appmanager.cpp        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -137,7 +137,6 @@
</span><span class="cx">     pluginsDir-&gt;setCurrent(dir);
</span><span class="cx"> #else
</span><span class="cx">     dir = settings.value(&quot;PluginDir&quot;, qApp-&gt;applicationDirPath()).toString();
</span><del>-    qDebug() &lt;&lt;  qApp-&gt;applicationDirPath();
</del><span class="cx">     pluginsDir-&gt;setCurrent(dir);
</span><span class="cx">     pluginsDir-&gt;cd(&quot;plugins&quot;);
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcinterfacesservermanagercpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.cpp (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.cpp        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.cpp        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -133,6 +133,7 @@
</span><span class="cx">         settings.endGroup();
</span><span class="cx">         readSettings();
</span><span class="cx">         m_ui-&gt;listServers-&gt;setCurrentItem(m_ui-&gt;listServers-&gt;findItems(text, Qt::MatchExactly, 0).first());
</span><ins>+        m_ui-&gt;btnEdit-&gt;click();
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -144,6 +145,7 @@
</span><span class="cx">     m_ui-&gt;btnSave-&gt;setEnabled(true);
</span><span class="cx">     m_ui-&gt;btnEdit-&gt;setEnabled(false);
</span><span class="cx">     m_ui-&gt;lineHost-&gt;setFocus();
</span><ins>+    m_ui-&gt;btnConnect-&gt;setEnabled(false);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ServerManager::saveServer()
</span><span class="lines">@@ -167,6 +169,7 @@
</span><span class="cx">     m_ui-&gt;linePort-&gt;setEnabled(false);
</span><span class="cx">     m_ui-&gt;btnSave-&gt;setEnabled(false);
</span><span class="cx">     m_ui-&gt;btnEdit-&gt;setEnabled(true);
</span><ins>+    m_ui-&gt;btnConnect-&gt;setEnabled(true);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ServerManager::deleteServer()
</span><span class="lines">@@ -197,4 +200,3 @@
</span><span class="cx">     }
</span><span class="cx">     settings.endGroup();
</span><span class="cx"> }
</span><del>-
</del></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcinterfacesservermanagerui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.ui (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.ui        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/interfaces/servermanager.ui        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">             &lt;string&gt;&amp;amp;Add server&lt;/string&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;icon&quot;&gt;
</span><del>-            &lt;iconset&gt;
</del><ins>+            &lt;iconset resource=&quot;../resources/resources.qrc&quot;&gt;
</ins><span class="cx">              &lt;normaloff&gt;:/icons/new_server_icon.png&lt;/normaloff&gt;:/icons/new_server_icon.png&lt;/iconset&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">           &lt;/widget&gt;
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">             &lt;string&gt;&amp;amp;Remove Server&lt;/string&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;icon&quot;&gt;
</span><del>-            &lt;iconset&gt;
</del><ins>+            &lt;iconset resource=&quot;../resources/resources.qrc&quot;&gt;
</ins><span class="cx">              &lt;normaloff&gt;:/icons/remove_server_icon.png&lt;/normaloff&gt;:/icons/remove_server_icon.png&lt;/iconset&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">           &lt;/widget&gt;
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">           &lt;bool&gt;true&lt;/bool&gt;
</span><span class="cx">          &lt;/property&gt;
</span><span class="cx">          &lt;property name=&quot;currentIndex&quot;&gt;
</span><del>-          &lt;number&gt;1&lt;/number&gt;
</del><ins>+          &lt;number&gt;0&lt;/number&gt;
</ins><span class="cx">          &lt;/property&gt;
</span><span class="cx">          &lt;widget class=&quot;QWidget&quot; name=&quot;tabBasic&quot;&gt;
</span><span class="cx">           &lt;attribute name=&quot;title&quot;&gt;
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx">             &lt;string&gt;&amp;amp;Save&lt;/string&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;icon&quot;&gt;
</span><del>-            &lt;iconset&gt;
</del><ins>+            &lt;iconset resource=&quot;../resources/resources.qrc&quot;&gt;
</ins><span class="cx">              &lt;normaloff&gt;:/icons/save.png&lt;/normaloff&gt;:/icons/save.png&lt;/iconset&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;iconSize&quot;&gt;
</span><span class="lines">@@ -164,7 +164,7 @@
</span><span class="cx">             &lt;string&gt;&amp;amp;Edit&lt;/string&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;icon&quot;&gt;
</span><del>-            &lt;iconset&gt;
</del><ins>+            &lt;iconset resource=&quot;../resources/resources.qrc&quot;&gt;
</ins><span class="cx">              &lt;normaloff&gt;:/icons/edit_icon.png&lt;/normaloff&gt;:/icons/edit_icon.png&lt;/iconset&gt;
</span><span class="cx">            &lt;/property&gt;
</span><span class="cx">            &lt;property name=&quot;iconSize&quot;&gt;
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx">         &lt;string&gt;&amp;amp;Connect&lt;/string&gt;
</span><span class="cx">        &lt;/property&gt;
</span><span class="cx">        &lt;property name=&quot;icon&quot;&gt;
</span><del>-        &lt;iconset&gt;
</del><ins>+        &lt;iconset resource=&quot;../resources/resources.qrc&quot;&gt;
</ins><span class="cx">          &lt;normaloff&gt;:/icons/connect_icon.png&lt;/normaloff&gt;:/icons/connect_icon.png&lt;/iconset&gt;
</span><span class="cx">        &lt;/property&gt;
</span><span class="cx">        &lt;property name=&quot;iconSize&quot;&gt;
</span><span class="lines">@@ -243,7 +243,11 @@
</span><span class="cx">   &lt;/layout&gt;
</span><span class="cx">   &lt;zorder&gt;&lt;/zorder&gt;
</span><span class="cx">  &lt;/widget&gt;
</span><del>- &lt;resources/&gt;
</del><ins>+ &lt;resources&gt;
+  &lt;include location=&quot;../resources/resources.qrc&quot;/&gt;
+  &lt;include location=&quot;../resources/resources.qrc&quot;/&gt;
+  &lt;include location=&quot;../resources/resources.qrc&quot;/&gt;
+ &lt;/resources&gt;
</ins><span class="cx">  &lt;connections&gt;
</span><span class="cx">   &lt;connection&gt;
</span><span class="cx">    &lt;sender&gt;pushButton_5&lt;/sender&gt;
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginconsoletabwidgetcpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.cpp (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.cpp        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.cpp        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -19,10 +19,10 @@
</span><span class="cx">     model-&gt;setSourceModel(sourceModel);
</span><span class="cx">     model-&gt;setFilterKeyColumn(0);
</span><span class="cx">     m_ui-&gt;consoleListView-&gt;setModel(model);
</span><ins>+    m_ui-&gt;consoleListView-&gt;setColumnWidth(0, 2000);
</ins><span class="cx"> 
</span><span class="cx">     QObject::connect(sourceModel, SIGNAL(beforeInserting()),
</span><span class="cx">                      this, SLOT(setConditionalScroll()));
</span><del>-
</del><span class="cx">     QObject::connect(sourceModel, SIGNAL(afterInserting()),
</span><span class="cx">                      this, SLOT(conditionalScroll()));
</span><span class="cx"> 
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginconsoletabwidgetui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.ui (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.ui        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/consoletabwidget.ui        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -306,9 +306,15 @@
</span><span class="cx">       &lt;/layout&gt;
</span><span class="cx">      &lt;/widget&gt;
</span><span class="cx">      &lt;widget class=&quot;QTableView&quot; name=&quot;consoleListView&quot;&gt;
</span><ins>+      &lt;property name=&quot;autoScroll&quot;&gt;
+       &lt;bool&gt;false&lt;/bool&gt;
+      &lt;/property&gt;
</ins><span class="cx">       &lt;property name=&quot;editTriggers&quot;&gt;
</span><span class="cx">        &lt;set&gt;QAbstractItemView::NoEditTriggers&lt;/set&gt;
</span><span class="cx">       &lt;/property&gt;
</span><ins>+      &lt;property name=&quot;tabKeyNavigation&quot;&gt;
+       &lt;bool&gt;false&lt;/bool&gt;
+      &lt;/property&gt;
</ins><span class="cx">       &lt;property name=&quot;showDropIndicator&quot; stdset=&quot;0&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/property&gt;
</span><span class="lines">@@ -318,45 +324,48 @@
</span><span class="cx">       &lt;property name=&quot;selectionMode&quot;&gt;
</span><span class="cx">        &lt;enum&gt;QAbstractItemView::ExtendedSelection&lt;/enum&gt;
</span><span class="cx">       &lt;/property&gt;
</span><ins>+      &lt;property name=&quot;horizontalScrollMode&quot;&gt;
+       &lt;enum&gt;QAbstractItemView::ScrollPerPixel&lt;/enum&gt;
+      &lt;/property&gt;
</ins><span class="cx">       &lt;property name=&quot;showGrid&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/property&gt;
</span><ins>+      &lt;property name=&quot;wordWrap&quot;&gt;
+       &lt;bool&gt;false&lt;/bool&gt;
+      &lt;/property&gt;
</ins><span class="cx">       &lt;property name=&quot;cornerButtonEnabled&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/property&gt;
</span><span class="cx">       &lt;attribute name=&quot;horizontalHeaderVisible&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;horizontalHeaderHighlightSections&quot;&gt;
</del><ins>+      &lt;attribute name=&quot;horizontalHeaderCascadingSectionResizes&quot;&gt;
</ins><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;horizontalHeaderStretchLastSection&quot;&gt;
-       &lt;bool&gt;true&lt;/bool&gt;
-      &lt;/attribute&gt;
-      &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
</del><ins>+      &lt;attribute name=&quot;horizontalHeaderHighlightSections&quot;&gt;
</ins><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;verticalHeaderHighlightSections&quot;&gt;
</del><ins>+      &lt;attribute name=&quot;horizontalHeaderShowSortIndicator&quot; stdset=&quot;0&quot;&gt;
</ins><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;verticalHeaderStretchLastSection&quot;&gt;
</del><ins>+      &lt;attribute name=&quot;horizontalHeaderStretchLastSection&quot;&gt;
</ins><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><span class="cx">       &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;horizontalHeaderStretchLastSection&quot;&gt;
-       &lt;bool&gt;true&lt;/bool&gt;
-      &lt;/attribute&gt;
-      &lt;attribute name=&quot;horizontalHeaderVisible&quot;&gt;
</del><ins>+      &lt;attribute name=&quot;verticalHeaderCascadingSectionResizes&quot;&gt;
</ins><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><del>-      &lt;attribute name=&quot;horizontalHeaderHighlightSections&quot;&gt;
-       &lt;bool&gt;false&lt;/bool&gt;
</del><ins>+      &lt;attribute name=&quot;verticalHeaderDefaultSectionSize&quot;&gt;
+       &lt;number&gt;20&lt;/number&gt;
</ins><span class="cx">       &lt;/attribute&gt;
</span><span class="cx">       &lt;attribute name=&quot;verticalHeaderHighlightSections&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span><ins>+      &lt;attribute name=&quot;verticalHeaderShowSortIndicator&quot; stdset=&quot;0&quot;&gt;
+       &lt;bool&gt;false&lt;/bool&gt;
+      &lt;/attribute&gt;
</ins><span class="cx">       &lt;attribute name=&quot;verticalHeaderStretchLastSection&quot;&gt;
</span><span class="cx">        &lt;bool&gt;false&lt;/bool&gt;
</span><span class="cx">       &lt;/attribute&gt;
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginrealtimestatisticsdialogcpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/realtimestatisticsdialog.cpp (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/realtimestatisticsdialog.cpp        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/realtimestatisticsdialog.cpp        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -146,6 +146,7 @@
</span><span class="cx">     m_ui-&gt;listInactiveHeaders-&gt;clear();
</span><span class="cx"> 
</span><span class="cx">     Channel * ch = _sm-&gt;getInactiveChannel(index.data(Qt::UserRole).toString());
</span><ins>+    qDebug() &lt;&lt; ch;
</ins><span class="cx">     if (!ch)
</span><span class="cx">         return;
</span><span class="cx"> 
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginsortfilterproxymodelcpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.cpp (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.cpp        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.cpp        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -2,7 +2,7 @@
</span><span class="cx"> #include &quot;sortfilterproxymodel.h&quot;
</span><span class="cx"> 
</span><span class="cx"> ConsoleModel::ConsoleModel (QObject *parent)
</span><del>-        : QAbstractListModel(parent)
</del><ins>+        : QAbstractTableModel(parent)
</ins><span class="cx"> {
</span><span class="cx">     QSettings settings;
</span><span class="cx">     batchSize = settings.value(&quot;Console/batchSize&quot;, 200).toInt();
</span><span class="lines">@@ -17,11 +17,15 @@
</span><span class="cx">     return _listDisplayModel.count();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+int ConsoleModel::columnCount ( const QModelIndex &amp; /*parent*/ ) const
+{
+    return 1;
+}
+
</ins><span class="cx"> QVariant ConsoleModel::data ( const QModelIndex &amp; index, int role ) const
</span><span class="cx"> {
</span><span class="cx">     if (!index.isValid())
</span><span class="cx">         return QVariant();
</span><del>-
</del><span class="cx">     return _listDisplayModel.at(index.row())-&gt;data(role);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcpluginsconsolepluginsortfilterproxymodelh"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.h (14779 => 14780)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.h        2009-09-07 22:13:09 UTC (rev 14779)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/plugins/consoleplugin/sortfilterproxymodel.h        2009-09-07 23:08:57 UTC (rev 14780)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> #define SORTFILTERPROXYMODEL_H
</span><span class="cx"> 
</span><span class="cx"> #include &lt;QSortFilterProxyModel&gt;
</span><del>-#include &lt;QAbstractListModel&gt;
</del><ins>+#include &lt;QAbstractTableModel&gt;
</ins><span class="cx"> #include &lt;QVector&gt;
</span><span class="cx"> #include &lt;QList&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -47,12 +47,13 @@
</span><span class="cx"> class QStandardItem;
</span><span class="cx"> class QScrollBar;
</span><span class="cx"> 
</span><del>-class ConsoleModel : public QAbstractListModel
</del><ins>+class ConsoleModel : public QAbstractTableModel
</ins><span class="cx"> {
</span><span class="cx">     Q_OBJECT
</span><span class="cx"> public:
</span><span class="cx">     ConsoleModel (QObject *parent = 0);
</span><span class="cx">     int rowCount ( const QModelIndex &amp; parent = QModelIndex() ) const;
</span><ins>+    int columnCount ( const QModelIndex &amp; parent = QModelIndex() ) const;
</ins><span class="cx">     QVariant data ( const QModelIndex &amp; index, int role = Qt::DisplayRole ) const;
</span><span class="cx">     void appendRow ( QStandardItem* item );
</span><span class="cx">     void clear();
</span></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>