Ignore:
Timestamp:
Feb 21, 2014, 5:26:03 PM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to 0.8.6

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/mpcgui/mpcgui.cpp

    r128 r156  
    8888        controlwidget = new QToolBar( this );
    8989        controlwidget->setObjectName("controlwidget");
     90        controlwidget->setLayoutDirection(Qt::LeftToRight);
     91
    9092        controlwidget->setMovable(false);
    9193        controlwidget->setAllowedAreas(Qt::BottomToolBarArea);
     
    109111        controlwidget->addAction(volumeslider_action);
    110112
    111     timeslidewidget = new QToolBar( this );
     113        timeslidewidget = new QToolBar( this );
    112114        timeslidewidget->setObjectName("timeslidewidget");
     115        timeslidewidget->setLayoutDirection(Qt::LeftToRight);
    113116        timeslidewidget->addAction(timeslider_action);
    114117    timeslidewidget->setMovable(false);
     
    215218                set->setValue( "pos", pos() );
    216219                set->setValue( "size", size() );
     220                set->setValue( "state", (int) windowState() );
    217221        }
    218222
     
    237241                move(p);
    238242                resize(s);
     243
     244                setWindowState( (Qt::WindowStates) set->value("state", 0).toInt() );
    239245
    240246                if (!DesktopInfo::isInsideScreen(this)) {
     
    433439        forward3Act->change( tr("+%1").arg(Helper::timeForJumps(pref->seeking3)) );
    434440
     441        /*
    435442        if (qApp->isLeftToRight()) {
     443        */
    436444        rewind1Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(80,0,16,16) );
    437445        rewind2Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(80,0,16,16) );
     
    441449        forward2Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(96,0,16,16) );
    442450        forward3Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(112,0,16,16) );
    443 
     451        /*
    444452        } else {
    445453        rewind1Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(96,0,16,16) );
     
    451459        forward3Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(64,0,16,16) );
    452460        }
     461        */
    453462}
    454463
Note: See TracChangeset for help on using the changeset viewer.