From d2b70a89d04e34e667726dc1f769afc9e1ec25d8 Mon Sep 17 00:00:00 2001 From: Thomas resiX Date: Sat, 15 Feb 2025 12:18:10 +0100 Subject: [PATCH] 0.4 --- BPM-Studio-Net-Client-16x16.ico | Bin 0 -> 318 bytes BPM-Studio-Net-Client-32x32.ico | Bin 0 -> 766 bytes BPM-Studio-Net-Client.pro | 5 +++++ BPM-Studio-Net-Client.qrc | 6 ++++++ mainwindow.cpp | 7 +++++-- 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 BPM-Studio-Net-Client-16x16.ico create mode 100644 BPM-Studio-Net-Client-32x32.ico create mode 100644 BPM-Studio-Net-Client.qrc diff --git a/BPM-Studio-Net-Client-16x16.ico b/BPM-Studio-Net-Client-16x16.ico new file mode 100644 index 0000000000000000000000000000000000000000..04bf5e8fe01926f17c609267c0252ac9e04ad7a7 GIT binary patch literal 318 zcmZvXF%H5o3`JiBQoEIj6~%qEv51#=L;HZM^RKKHUi04Z%oWoywXY%M{tqEZMkH^nd_|0ryAor1 zFpm1h<>$!@}4)LSJWCpKdViZ@7@0||#;Y=vWiebvMAh+qRT zD+vajk_A{52XS=F=ZNw=v0UplsUuchdC#vD*a{?RTY4Q4bxas*M{LtleU1rJl7n`t zrcDmorRixPkt&%4lalHrAaUN4;KzvF{6i8=Yi)#()#;?bE3=_7_WNqYzWTy#b;1n> zyfYnoxT;5FI?FU2T%j2eXPO_ZJLc1(gEV)g46C^e*VT5Yi|wg?l<`fohz~DCte;J{ Vd^P=ISPZ6Lo@QO0{(i9-zX1d0sMG)e literal 0 HcmV?d00001 diff --git a/BPM-Studio-Net-Client.pro b/BPM-Studio-Net-Client.pro index fbc8d5a..b8edb9c 100644 --- a/BPM-Studio-Net-Client.pro +++ b/BPM-Studio-Net-Client.pro @@ -22,3 +22,8 @@ FORMS += \ qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target + +RESOURCES += \ + BPM-Studio-Net-Client.qrc + +RC_ICONS = BPM-Studio-Net-Client-32x32.ico diff --git a/BPM-Studio-Net-Client.qrc b/BPM-Studio-Net-Client.qrc new file mode 100644 index 0000000..6c740c4 --- /dev/null +++ b/BPM-Studio-Net-Client.qrc @@ -0,0 +1,6 @@ + + + BPM-Studio-Net-Client-16x16.ico + BPM-Studio-Net-Client-32x32.ico + + diff --git a/mainwindow.cpp b/mainwindow.cpp index cbc4c14..f545321 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -101,12 +101,15 @@ void MainWindow::on_pushButton_play_clicked(){ while(status_loop=="ja") ui->statusbar->showMessage("~"); if(!(status_player1=="play") || !(status_player2=="play")){ - if(status_player1=="aus" || status_player1=="pause"){ + if(status_player1=="pause"){ befehl=befehl_play1; sende_befehl(); - }else if(status_player2=="aus" || status_player2=="pause"){ + }else if(status_player2=="pause"){ befehl=befehl_play2; sende_befehl(); + }else{ + befehl=befehl_play1; + sende_befehl(); } } }