mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Added code to force the 'Plastique' GUI style.
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
#include <QPixmap>
|
||||
#include <QResizeEvent>
|
||||
#include <QCloseEvent>
|
||||
#include <qstylefactory.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include <dbversion.h>
|
||||
@@ -88,6 +90,10 @@ void SigHandler(int signo);
|
||||
MainWidget::MainWidget(QWidget *parent)
|
||||
:QWidget(parent)
|
||||
{
|
||||
QStringList styles=QStyleFactory::keys();
|
||||
for(int i=0;i<styles.size();i++) {
|
||||
printf("style: %s\n",(const char *)styles.at(i).toUtf8());
|
||||
}
|
||||
QString err_msg;
|
||||
|
||||
lib_resize=false;
|
||||
@@ -1529,8 +1535,9 @@ void MainWidget::SendNotification(RDNotification::Action action,
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
QApplication::setStyle(RD_GUI_STYLE);
|
||||
QApplication a(argc,argv);
|
||||
|
||||
|
||||
//
|
||||
// Load Translations
|
||||
//
|
||||
|
Reference in New Issue
Block a user