Commit 714b4b1a authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

COMP: Fixed incorrect type.

parent 330ed36e
......@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "pqTreeWidgetEventPlayer.h"
#include <QTreeView>
#include <QTreeWidget>
#include <QDebug>
//-----------------------------------------------------------------------------
......@@ -51,7 +51,7 @@ bool pqTreeWidgetEventPlayer::playEvent(
QObject* object, const QString& command,
const QString& arguments, bool& error)
{
QTreeView* treeWidget = qobject_cast<QTreeView*>(object);
QTreeWidget* treeWidget = qobject_cast<QTreeWidget*>(object);
if (!treeWidget)
{
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment