Commit 542a11c6 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Cleaned up some leftover code.

parent d12997ea
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -78,13 +78,6 @@ namespace Isis {
      QMainWindow(parent) {
    m_maxThreadCount = -1;

//  QMdiArea *centralWidget = new QMdiArea;
//  centralWidget->setActivationOrder(QMdiArea::StackingOrder);

//  connect(centralWidget, SIGNAL( subWindowActivated(QMdiSubWindow *) ),
//          this, SLOT( onSubWindowActivated(QMdiSubWindow *) ) );


    QWidget *centralWidget = new QWidget;
    setCentralWidget(centralWidget);
    setTabPosition(Qt::LeftDockWidgetArea, QTabWidget::North);
@@ -93,8 +86,6 @@ namespace Isis {
    //centralWidget->hide();
    setDockNestingEnabled(true);

    //activateWindow();

    try {
      m_directory = new Directory(this);
      connect(m_directory, SIGNAL( newWidgetAvailable(QWidget *) ),
@@ -356,17 +347,6 @@ namespace Isis {
    m_editMenuActions.append(undoAction);
    m_editMenuActions.append(redoAction);

//  m_cascadeViewsAction = new QAction("Cascade Views", this);
//  connect(m_cascadeViewsAction, SIGNAL( triggered() ),
//          centralWidget(), SLOT( cascadeSubWindows() ) );
//  m_viewMenuActions.append(m_cascadeViewsAction);
//
//  m_tileViewsAction = new QAction("Tile Views", this);
//  connect(m_tileViewsAction, SIGNAL( triggered() ),
//          centralWidget(), SLOT( tileSubWindows() ) );
//  m_viewMenuActions.append(m_tileViewsAction);


    QAction *threadLimitAction = new QAction("Set Thread &Limit", this);
    connect(threadLimitAction, SIGNAL(triggered()),
            this, SLOT(configureThreadLimit()));
+1 −2
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@
#include "ProjectItem.h"
#include "ProjectItemModel.h"
#include "ProjectItemProxyModel.h"
#include "ToolPad.h"

namespace Isis {

@@ -162,7 +161,7 @@ namespace Isis {


  /**
   * Enables actions when cursor etners on the view
   * Enables actions when cursor enters the view
   *
   * @param event The enter event
   */