# HG changeset patch # User Matti Hamalainen # Date 1503496969 -10800 # Node ID dc9fe580da429c951f9983d94c342beb4a7ca52b # Parent 931bb422a3565a38187ad58750e5226f9f816460 Rename setCommonStyleSheet() to slSetCommonStyleSheet(). diff -r 931bb422a356 -r dc9fe580da42 src/main.cpp --- a/src/main.cpp Wed Aug 23 16:53:58 2017 +0300 +++ b/src/main.cpp Wed Aug 23 17:02:49 2017 +0300 @@ -186,7 +186,7 @@ } -void setCommonStyleSheet(QWidget *widget) +void slSetCommonStyleSheet(QWidget *widget) { // Clamp scale value if (setScale < 0.5f) @@ -311,7 +311,7 @@ ui->button_LogoImage->setPixmap(logoImage); ui->button_LogoImage->setAlignment(Qt::AlignCenter); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); // Validator for amount input //ui->edit_Amount->setValidator(new QDoubleValidator(0, 1000, 2, this)); @@ -439,21 +439,21 @@ void SyntilistaMainWindow::changeUIZoomIn() { setScale += 0.1f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } void SyntilistaMainWindow::changeUIZoomOut() { setScale -= 0.1f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } void SyntilistaMainWindow::changeUIZoomReset() { setScale = 1.0f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } @@ -516,7 +516,7 @@ ui->tableview_Latest->verticalHeader()->setVisible(false); ui->tableview_Latest->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); return; // Ugly } } @@ -528,7 +528,7 @@ ui->label_BalanceValue->setStyleSheet(NULL); ui->label_PersonName->setText("???"); ui->tableview_Latest->setModel(NULL); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } @@ -800,7 +800,7 @@ } QMessageBox dlg; - setCommonStyleSheet(&dlg); + slSetCommonStyleSheet(&dlg); dlg.setText(tr("Varmistus")); dlg.setInformativeText( tr("
Haluatko varmasti poistaa henkilön:
" @@ -1161,7 +1161,7 @@ { ui->setupUi(this); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); setModal(true); setAttribute(Qt::WA_DeleteOnClose); @@ -1591,7 +1591,7 @@ "" )); -// setCommonStyleSheet(this); +// slSetCommonStyleSheet(this); setModal(true); setAttribute(Qt::WA_DeleteOnClose); show();