Navigation Menu

Skip to content

Commit

Permalink
update videostatusplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitozz committed Mar 14, 2012
1 parent c104336 commit f99766a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions generic/videostatusplugin/changelog.txt
@@ -1,3 +1,7 @@
2012-03-14
v0.2.3
+ Переделано автоматическое размещениее чекбоксов в опциях для OS Linux

2012-03-12 2012-03-12
v0.2.2 v0.2.2
+ Небольшое исправление в работе чекбоксов для OS Linux + Небольшое исправление в работе чекбоксов для OS Linux
Expand Down
6 changes: 3 additions & 3 deletions generic/videostatusplugin/videostatusplugin.cpp
Expand Up @@ -89,7 +89,7 @@ static const QDBusArgument & operator>>(const QDBusArgument &arg, PlayerStatus &
} }
#endif #endif


#define constVersion "0.2.2" #define constVersion "0.2.3"


#define constStatus "status" #define constStatus "status"
#define constStatusMessage "statusmessage" #define constStatusMessage "statusmessage"
Expand Down Expand Up @@ -376,8 +376,8 @@ QWidget* VideoStatusChanger::options()
#ifdef Q_WS_X11 #ifdef Q_WS_X11
//добавляем чекбоксы плееров //добавляем чекбоксы плееров
int i = 0; int i = 0;
int rows = 2; //при добавлении нового плеера изменить в соответствии с кол-вом плееров int columns = (players.length() < 5) ? 2 : 3;
int columns = 2; //при добавлении нового плеера изменить в соответствии с кол-вом плееров int rows = (players.length() + columns - 1) / columns;
foreach (StringMap item, players) { foreach (StringMap item, players) {
i = players.indexOf(item); i = players.indexOf(item);
if (i != -1) { if (i != -1) {
Expand Down

0 comments on commit f99766a

Please sign in to comment.