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

Autocomplate of arguments doesn't work when overwriting function of base class in children class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • Qt Creator 3.1.0, Qt Creator 3.2.0-beta1
    • None
    • OpenSUSE 13.1 x64

    Description

      Autocomplate of arguments doesn't work when you try to overwrite function.
      For example:
      Base class has function:
      void createConfigurationInterface(KConfigDialog *parent);
      Then you try to overwrite this function in children class:
      void crea - (Step1) There ok, autocomlate show correct function name which you could overwrite and correct parametrs for her. Click Enter.
      void createConfigurationInterface(); - (Step2) And there is the problem. The only things is autocomplete is showing - empty closing parenthesis ")" with no arguments at all.
      But if you delete there "();" and type "(" - (Step3) there will be shown correct arguments.

      Attachments

        1. step1.png
          step1.png
          42 kB
        2. step2.png
          step2.png
          39 kB
        3. step3.png
          step3.png
          40 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            shtirliz72 Konstantin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes