src/hbcore/gui/hbbackgrounditem.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 3 11d3954df52a
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    52         mMainWindow(mainWindow)
    52         mMainWindow(mainWindow)
    53 {
    53 {
    54 #ifdef ENABLE_FAST_PAINT_
    54 #ifdef ENABLE_FAST_PAINT_
    55     setAttribute(Qt::WA_NoSystemBackground); // Disable clearing of background
    55     setAttribute(Qt::WA_NoSystemBackground); // Disable clearing of background
    56 #endif
    56 #endif
       
    57     setSizePolicy( QSizePolicy::Ignored, QSizePolicy::Ignored );
    57 
    58 
    58     mPrtImageName = defaultImageName(Qt::Vertical);
    59     mPrtImageName = defaultImageName(Qt::Vertical);
    59     mLscImageName = defaultImageName(Qt::Horizontal);
    60     mLscImageName = defaultImageName(Qt::Horizontal);
    60     updateBackgroundImage();
    61     updateBackgroundImage();
    61 }
    62 }