Commit 111d812b authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Cleanup

parent 524acf4a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -199,7 +199,6 @@ namespace Isis {
    dock->setAttribute(Qt::WA_DeleteOnClose);
    dock->setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable |
                      QDockWidget::DockWidgetFloatable);
    dock->setFocusPolicy(Qt::ClickFocus);

    if ( qobject_cast<SensorInfoWidget *>(newWidget) ||
         qobject_cast<TargetInfoWidget *>(newWidget) ||
+0 −2
Original line number Diff line number Diff line
@@ -118,8 +118,6 @@ namespace Isis {
    action->setIcon(getIcon("viewmag.png"));
    action->setToolTip("Zoom (z)");
    action->setShortcut(Qt::Key_Z);
    action->setShortcutContext(Qt::WidgetShortcut);

    QString text  =
      "<b>Function:</b>  Zoom in or out of the current cube.<br><br>"
      "This tool gives you a <b>click</b> to zoom by 2X and center on the "
+0 −9
Original line number Diff line number Diff line
@@ -35,9 +35,6 @@ namespace Isis {
    // try to use US locale for numbers so we don't end up printing "," instead
    //   of "." where it might count.

    connect(this, SIGNAL(focusChanged(QWidget *, QWidget *)), this, SLOT(print(QWidget *, QWidget *)));


    for (int i = 1; i < argc; i++) {
        QString arg(argv[i]);
        if (arg.startsWith("-pref")) {
@@ -61,12 +58,6 @@ namespace Isis {
    QDesktopServices::setUrlHandler("http", this, "openUrl");
  }

  void QIsisApplication::print(QWidget *old, QWidget *now) {
    // std::cout<<"OLD: " + old->windowTitle() + ", NEW: " + now->windowTitle()<<std::endl;
    if (old && now) {
      qDebug()<<"OLD: " + old->windowTitle() + ", NEW: " + now->windowTitle();
    }
  }

  /**
  * notify - this function overrides the QApplication notify as
+0 −2
Original line number Diff line number Diff line
@@ -56,8 +56,6 @@ namespace Isis {

    public slots:
      void openUrl(QUrl url);
      void print(QWidget *old, QWidget *now);

  };
};

+0 −2
Original line number Diff line number Diff line
@@ -109,8 +109,6 @@ namespace Isis {
    action->setIcon(QPixmap(toolIconDir() + "/viewmag.png"));
    action->setToolTip("Zoom (Z)");
    action->setShortcut(Qt::Key_Z);
    action->setShortcutContext(Qt::WidgetWithChildrenShortcut);

    QString text  =
      "<b>Function:</b>  Zoom in or out of the current cube. \
      <p><b>Shortcut:</b>  Z</p> ";