Compare commits

..

1 commit
0.12 ... 0.13

Author SHA1 Message Date
1dee971812 0.13 2025-02-15 07:44:13 +01:00
4 changed files with 15 additions and 6 deletions

View file

@ -170,13 +170,13 @@ void player_gui::on_lineEdit_textChanged(const QString &arg1){
std::cout << "suchen" << std::endl;
ui->listWidget->clear();
for(int x=1;x<=this->Sender;x++){
if(this->Name[x].contains(arg1)){
this->Name_tmp = this->Name[x].toLower();
if(this->Name_tmp.contains(arg1.toLower())){
ui->listWidget->addItem(this->Name[x]);
}
}
}
void player_gui::on_listWidget_itemClicked(QListWidgetItem *item)
{
void player_gui::on_listWidget_itemClicked(QListWidgetItem *item){
std::cout << item->text().toStdString() << std::endl;
this->play(item);
}

View file

@ -37,6 +37,7 @@ private:
int sender_ausgeben(void);
int Sender;
QString Name[10000];
QString Name_tmp;
QString URL[10000];
QString ip;
QNetworkAccessManager *manager;

View file

@ -80,8 +80,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1210</width>
<height>21</height>
<width>1160</width>
<height>20</height>
</rect>
</property>
<widget class="QMenu" name="menuProgramm">

View file

@ -4,12 +4,20 @@ QT += \
widgets \
network
QMAKE_CFLAGS_RELEASE += -Os -momit-leaf-frame-pointer
QMAKE_LFLAGS += -static -static-libgcc
CONFIG += \
c++11 \
static
DEFINES += \
VLC_STATICLIB \
QT_STATIC_BUILD
LIBS += \
-lvlc
-lvlc.dll
SOURCES += \
main.cpp \