mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-01 08:29:41 +02:00
2021-10-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused the '-style' switch to be ignored. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
2458206ff5
commit
90656ef63f
@ -22524,3 +22524,6 @@
|
|||||||
* Updated I18N data.
|
* Updated I18N data.
|
||||||
2021-10-13 Fred Gleason <fredg@paravelsystems.com>
|
2021-10-13 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 4.0.0beta3.
|
* Incremented the package version to 4.0.0beta3.
|
||||||
|
2021-10-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in rdairplay(1) that caused the '-style' switch
|
||||||
|
to be ignored.
|
||||||
|
@ -2230,7 +2230,16 @@ void MainWidget::SetActionMode(StartButton::Mode mode)
|
|||||||
|
|
||||||
int main(int argc,char *argv[])
|
int main(int argc,char *argv[])
|
||||||
{
|
{
|
||||||
QApplication::setStyle(RD_GUI_STYLE);
|
bool user_style=false;
|
||||||
|
for(int i=0;i<argc;i++) {
|
||||||
|
if(QString(argv[i])=="-style") {
|
||||||
|
user_style=true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!user_style) {
|
||||||
|
QApplication::setStyle(RD_GUI_STYLE);
|
||||||
|
}
|
||||||
QApplication a(argc,argv);
|
QApplication a(argc,argv);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user