Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/minigui.cpp

    r176 r181  
    3838        createControlWidget();
    3939        createFloatingControl();
     40        populateMainMenu();
    4041
    4142#if USE_CONFIGURABLE_TOOLBARS
     
    8687#endif
    8788
    88         time_label_action = new TimeLabelAction(this);
     89        time_label_action = createTimeLabelAction(TimeLabelAction::CurrentAndTotalTime, this);
    8990        time_label_action->setObjectName("timelabel_action");
    90 
    91         connect( this, SIGNAL(timeChanged(QString)),
    92              time_label_action, SLOT(setText(QString)) );
    9391
    9492#if USE_CONFIGURABLE_TOOLBARS
     
    128126void MiniGui::createFloatingControl() {
    129127        // Floating control
    130         floating_control = new AutohideWidget(panel);
     128        floating_control = new AutohideWidget(mplayerwindow);
    131129        floating_control->setAutoHide(true);
    132130
     
    318316
    319317                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());
    322321                }
    323322        }
Note: See TracChangeset for help on using the changeset viewer.