Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17152

Eclipse Integration 1.6.1 - Auto Set Mk Cmd Not Stored (with fix)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • Not Evaluated
    • None
    • 4.6.3, 4.7.1
    • None

    Description

      Applies to code found in qt-eclipse-integration-linux.x86-1.6.1.tar.gz

      While looking at how to integrate a much needed feature into the code, I came across what looks like a coding mistake in method performOk() at line 286 of QtPrefencePage.java. The code appears to try to store the selections that were made, but it looks like it is coded incorrectly. The second line uses "autosetmkspec" (spec) instead of "autosetmkcmd" (cmd).

      QtPreferencePage.java:
      285:		store.setValue(PreferenceConstants.QT_AUTOSETMKSPEC, autosetmkspec.getSelection());
      286:		store.setValue(PreferenceConstants.QT_AUTOSETMKCMD, autosetmkspec.getSelection());
                                                                          ^^^^^^^^^^^^^ should probably be "autosetmkcmd"
      

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            jwernerny John Werner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes