diff --git a/mainwindow.cpp b/mainwindow.cpp index 063683c..09887ac 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -92,9 +92,11 @@ void MainWindow::loadStyles() icon.addFile(launcherPath+"logo.ico", QSize(), QIcon::Normal, QIcon::Off); setWindowIcon(icon); - ui->widget->setStyleSheet("background-image: url("+launcherPath+"background.jpg);"); - ui->buttonRegister->setStyleSheet("background-image: url("+launcherPath+"button_small.jpg);border-width: 1px;"); - ui->buttonRun->setStyleSheet("background-image: url("+launcherPath+"button_big.jpg);border-width: 1px;"); + ui->widget->setStyleSheet( + "#widget { background-image: url("+launcherPath+"background.jpg); }" + "#buttonRegister { background-image: url("+launcherPath+"button_small.jpg);border-width: 1px; }" + "#buttonRun { background-image: url("+launcherPath+"button_big.jpg);border-width: 1px; }" + ); } diff --git a/mainwindow.ui b/mainwindow.ui index 95df98b..0b5d7b8 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -135,10 +135,7 @@ - false - - - selection-background-color: rgb(255, 255, 255); + true