title: Shortcuts not being triggered
body: <p>This is my class declaration:</p>
  
  <pre><code>class Browser : public QWidget {    
      Q_OBJECT
      public:
          Browser(QWidget *parent = 0);
          QStringList loadSettings(QString settings_file);
      private slots:
          void toggleFullscreen();               
      private:     
          void createActions();
          QAction *aToggleFullscreen;            
  };
  </code></pre>
  
  <p>And relevand definitions:</p>
  
  <pre><code>void Browser::toggleFullscreen() {
      out &lt;&lt; "fullscreen!" &lt;&lt; endl;
  }   
  void Browser::createActions() {
      aToggleFullscreen = new QAction(this);
      aToggleFullscreen-&gt;setShortcut(tr("F11"));    
      connect(aToggleFullscreen, SIGNAL(triggered()), this, SLOT(toggleFullscreen()));    
  }
  </code></pre>
  
  <p>I'm calling <code>createActions()</code> from <code>Browser::Browser</code>. </p>
  
  <p>I have no runtime warning that slot doesn't exists, etc. But still nothing is triggered if I hit <code>F11</code>.</p>
  
  <p>I tried also:</p>
  
  <pre><code>aToggleFullscreen-&gt;setShortcut(QString("F11"));
  </code></pre>
  
  <p>What is it wrong with my code?</p>