Changeset 181 for smplayer/trunk/src/minigui.cpp
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/src/minigui.cpp
r176 r181 38 38 createControlWidget(); 39 39 createFloatingControl(); 40 populateMainMenu(); 40 41 41 42 #if USE_CONFIGURABLE_TOOLBARS … … 86 87 #endif 87 88 88 time_label_action = new TimeLabelAction(this);89 time_label_action = createTimeLabelAction(TimeLabelAction::CurrentAndTotalTime, this); 89 90 time_label_action->setObjectName("timelabel_action"); 90 91 connect( this, SIGNAL(timeChanged(QString)),92 time_label_action, SLOT(setText(QString)) );93 91 94 92 #if USE_CONFIGURABLE_TOOLBARS … … 128 126 void MiniGui::createFloatingControl() { 129 127 // Floating control 130 floating_control = new AutohideWidget( panel);128 floating_control = new AutohideWidget(mplayerwindow); 131 129 floating_control->setAutoHide(true); 132 130 … … 318 316 319 317 if (!DesktopInfo::isInsideScreen(this)) { 320 move(0,0); 321 qWarning("MiniGui::loadConfig: window is outside of the screen, moved to 0x0"); 318 QPoint tl = DesktopInfo::topLeftPrimaryScreen(); 319 move(tl); 320 qWarning("DefaultGui::loadConfig: window is outside of the screen, moved to %d x %d", tl.x(), tl.y()); 322 321 } 323 322 }
Note:
See TracChangeset
for help on using the changeset viewer.