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

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

      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.

        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.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes