Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2322

Incorrect code duplication in Debugger plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.1.0
    • None
    • Debugger
    • None
    • Qt Creator master branch
      commit dca859601f755de84fb465115a23a895acd12fdc
      Author: Lasse Holmstedt <lasse.holmstedt@nokia.com>
      Date: Fri Sep 10 17:26:02 2010 +0200
    • a63f4a5a811376c181dd9993551e3881ee602e14

    Description

      Hi,

      There is a line in src/plugins/debugger/debuggerplugin.cpp which might be removed.

      void DebuggerPluginPrivate::setSimpleDockWidgetArrangement
      (const DebuggerLanguages &activeLanguages)

      2160
      mw->tabifyDockWidget(m_watchDock, m_snapshotDock);
      2161
      mw->tabifyDockWidget(m_watchDock, m_snapshotDock);

      Second line is not needed.

      http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/plugins/debugger/debuggerplugin.cpp#line2160

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            mdn Denis Mingulov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes