src/video/qtopia/SDL_sysvideo.cc
changeset 1935 8a9b367a80f3
parent 1895 c121d94672cb
equal deleted inserted replaced
1934:70139af5ac27 1935:8a9b367a80f3
   232                    desktop_size.width(), desktop_size.height());
   232                    desktop_size.width(), desktop_size.height());
   233         QT_AddMode(_this, ((vformat->BitsPerPixel + 7) / 8) - 1,
   233         QT_AddMode(_this, ((vformat->BitsPerPixel + 7) / 8) - 1,
   234                    desktop_size.height(), desktop_size.width());
   234                    desktop_size.height(), desktop_size.width());
   235 
   235 
   236         /* Determine the current screen size */
   236         /* Determine the current screen size */
   237         this->info.current_w = desktop_size.width();
   237         _this->info.current_w = desktop_size.width();
   238         this->info.current_h = desktop_size.height();
   238         _this->info.current_h = desktop_size.height();
   239 
   239 
   240         /* Create the window / widget */
   240         /* Create the window / widget */
   241         SDL_Win = new SDL_QWin(QSize(QT_HIDDEN_SIZE, QT_HIDDEN_SIZE));
   241         SDL_Win = new SDL_QWin(QSize(QT_HIDDEN_SIZE, QT_HIDDEN_SIZE));
   242         ((QPEApplication *) qApp)->showMainWidget(SDL_Win);
   242         ((QPEApplication *) qApp)->showMainWidget(SDL_Win);
   243         /* Fill in some window manager capabilities */
   243         /* Fill in some window manager capabilities */