Ignore:
Timestamp:
Jan 24, 2017, 12:24:46 PM (9 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update vendor to 17.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/baseguiplus.cpp

    r179 r186  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2016 Ricardo Villalba <[email protected]>
     2    Copyright (C) 2006-201 Ricardo Villalba <[email protected]>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    6262#include "preferencesdialog.h"
    6363#include "prefinput.h"
     64
     65
     66
     67
    6468#endif
    6569
     
    137141        playlistdock->setFloating(false); // To avoid that the playlist is visible for a moment
    138142        playlistdock->setWidget(playlist);
     143
    139144        playlistdock->setAllowedAreas(Qt::TopDockWidgetArea |
    140145                                  Qt::BottomDockWidgetArea
     
    149154
    150155        connect( playlistdock, SIGNAL(closed()), this, SLOT(playlistClosed()) );
     156
    151157#if USE_DOCK_TOPLEVEL_EVENT
    152158        connect( playlistdock, SIGNAL(topLevelChanged(bool)),
     
    166172        detachVideoAct->setCheckable(true);
    167173        connect(detachVideoAct, SIGNAL(toggled(bool)), this, SLOT(detachVideo(bool)));
     174
     175
     176
     177
     178
    168179#endif
    169180
     
    200211#endif
    201212
     213
     214
     215
     216
     217
     218
    202219#ifdef GLOBALSHORTCUTS
    203220        global_shortcuts = new GlobalShortcuts(this);
     
    206223#endif
    207224
     225
     226
     227
     228
    208229        retranslateStrings();
    209230        loadConfig();
     
    213234        saveConfig();
    214235        tray->hide();
     236
     237
     238
     239
    215240}
    216241
     
    231256#ifdef SCREENS_SUPPORT
    232257        videoMenu->insertMenu(videosize_menu->menuAction(), sendToScreen_menu);
    233         //optionsMenu->addMenu(sendToScreen_menu);
    234258
    235259        if (!pref->tablet_mode) {
     
    239263
    240264        access_menu->insertMenu(tabletModeAct, sendToScreen_menu);
     265
     266
     267
     268
     269
     270
     271
     272
     273
    241274#endif
    242275}
     
    259292}
    260293
     294
     295
     296
     297
     298
     299
     300
     301
     302
     303
    261304void BaseGuiPlus::closeWindow() {
    262305        qDebug("BaseGuiPlus::closeWindow");
     
    298341
    299342#if DOCK_PLAYLIST
    300     playlistdock->setWindowTitle( tr("Playlist") );
     343 playlistdock->setWindowTitle( tr("Playlist") );
    301344#endif
    302345
    303346#ifdef DETACH_VIDEO_OPTION
    304347        detachVideoAct->change("Detach video");
     348
     349
     350
     351
    305352#endif
    306353
     
    312359        detached_label->setText("<img src=\"" + Images::file("send_to_screen") + "\">" +
    313360                "<p style=\"color: white;\">" + tr("Video is sent to an external screen") +"</p");
     361
     362
     363
     364
     365
    314366#endif
    315367}
     
    471523
    472524void BaseGuiPlus::updateMediaInfo() {
    473     qDebug("BaseGuiPlus::updateMediaInfo");
     525qDebug("BaseGuiPlus::updateMediaInfo");
    474526        BaseGui::updateMediaInfo();
    475527
     
    9621014#endif
    9631015
     1016
     1017
     1018
     1019
     1020
     1021
     1022
     1023
     1024
     1025
     1026
     1027
     1028
     1029
     1030
     1031
     1032
     1033
     1034
     1035
     1036
     1037
     1038
     1039
     1040
     1041
     1042
     1043
     1044
     1045
     1046
     1047
     1048
     1049
     1050
     1051
     1052
     1053
     1054
     1055
     1056
     1057
     1058
     1059
     1060
     1061
     1062
     1063
     1064
     1065
     1066
     1067
     1068
     1069
     1070
     1071
     1072
     1073
     1074
     1075
     1076
     1077
     1078
     1079
     1080
     1081
     1082
     1083
     1084
     1085
     1086
     1087
     1088
     1089
     1090
     1091
     1092
     1093
     1094
     1095
     1096
     1097
     1098
    9641099#include "moc_baseguiplus.cpp"
Note: See TracChangeset for help on using the changeset viewer.