Changeset 154 for smplayer/vendor/current/src/minigui.cpp
- Timestamp:
- Feb 21, 2014, 4:44:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/minigui.cpp
r140 r154 101 101 controlwidget = new EditableToolbar( this ); 102 102 controlwidget->setObjectName("controlwidget"); 103 controlwidget->setLayoutDirection(Qt::LeftToRight); 103 104 controlwidget->setMovable(true); 104 105 controlwidget->setAllowedAreas(Qt::TopToolBarArea | Qt::BottomToolBarArea); … … 127 128 // Floating control 128 129 floating_control = new FloatingWidget(this); 130 floating_control->setLayoutDirection(Qt::LeftToRight); 129 131 130 132 #if USE_CONFIGURABLE_TOOLBARS … … 247 249 set->setValue( "pos", pos() ); 248 250 set->setValue( "size", size() ); 251 set->setValue( "state", (int) windowState() ); 249 252 } 250 253 … … 276 279 move(p); 277 280 resize(s); 281 282 setWindowState( (Qt::WindowStates) set->value("state", 0).toInt() ); 278 283 279 284 if (!DesktopInfo::isInsideScreen(this)) {
Note:
See TracChangeset
for help on using the changeset viewer.