~robertcarr/qtubuntu/mirclient-with-input

« back to all changes in this revision

Viewing changes to src/platforms/ubuntu/window.cc

  • Committer: Robert Carr
  • Date: 2013-04-01 22:13:20 UTC
  • Revision ID: robert.carr@canonical.com-20130401221320-ac2bu8up9ttlrrqp
Skeleton mirclient build

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
  QPlatformWindow::setGeometry(rect);
117
117
}
118
118
 
119
 
void QUbuntuWindow::setWindowState(Qt::WindowState state) {
 
119
Qt::WindowState QUbuntuWindow::setWindowState(Qt::WindowState state) {
120
120
  DLOG("QUbuntuWindow::setWindowState (this=%p, state=%d)", this, state);
121
121
  if (state == state_)
122
 
    return;
 
122
    return state;
123
123
 
124
124
  switch (state) {
125
125
    case Qt::WindowNoState: {
148
148
      break;
149
149
    }
150
150
  }
 
151
  return state_;
151
152
}
152
153
 
153
154
void QUbuntuWindow::setGeometry(const QRect& rect) {