diff --git a/src/Lib/client.cpp b/src/Lib/client.cpp index d81c73e..06d88d6 100755 --- a/src/Lib/client.cpp +++ b/src/Lib/client.cpp @@ -28,7 +28,6 @@ #include "settings.h" #include "lablib.h" - extern std::unique_ptr< lc::Settings > settings; extern std::unique_ptr< lc::Lablib > lablib; @@ -330,11 +329,6 @@ void lc::Client::StartClientBrowser( const QString * const argURL, const bool * << "--noerrdialogs --kiosk" << "--app='" + processedArgUrl + "'" << "> /dev/null 2>&1 &disown"; - - // Add fullscreen toggle if checked - //if (*argFullscreen == true){ - // arguments << "&& sleep 3 && DISPLAY=:0.0 xdotool key --clearmodifiers F11"; - //} } // Start the process diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 72db13c..5aca148 100755 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -585,12 +585,11 @@ void lc::MainWindow::on_PBstartBrowser_clicked() { QString argURL = ui->LEURL->text(); bool argFullscreen = ui->CBFullscreen->checkState(); - QString argBrowser = ui->CB_BrowserSelection->currentText(); QModelIndexList activated_items = ui->TVClients->selectionModel()->selectedIndexes(); for ( QModelIndexList::ConstIterator it = activated_items.cbegin(); it != activated_items.cend(); ++it ) { if ( ( *it ).data( Qt::DisplayRole ).type() != 0 ) { Client *client = static_cast< Client* >( ( *it ).data( Qt::UserRole ).value< void * >() ); - client->StartClientBrowser( &argURL, &argFullscreen, &argBrowser ); + client->StartClientBrowser( &argURL, &argFullscreen ); } } } diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 35f7de9..5a140d8 100755 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -7,7 +7,7 @@ 0 0 730 - 903 + 900 @@ -252,6 +252,10 @@ Shows the desktop of the selected clients. + + + + View desktop (view only)