diff options
Diffstat (limited to 'src/knutmainwindow.cpp')
-rw-r--r-- | src/knutmainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp index 257ebbf..035daa6 100644 --- a/src/knutmainwindow.cpp +++ b/src/knutmainwindow.cpp @@ -195,14 +195,14 @@ void KNutMainWindow::setConfig (unsigned int changeSetting) { if (!m_settingData->customBColor) { // nastavime barvu pozadi podle systemu m_area->setPalette (m_mainPalette); // we set background color based on system m_panelMeter->setPalette (m_mainPalette); - tqrepaint(); + repaint(); } else { m_areaPalette.setColor(TQPalette::Active,TQColorGroup::Background,m_settingData->mainBackgroundColor); m_areaPalette.setColor(TQPalette::Inactive,TQColorGroup::Background,m_settingData->mainBackgroundColor); m_area->setPalette (m_areaPalette); m_panelMeter->setPalette (m_areaPalette); - tqrepaint(); + repaint(); } } else { @@ -211,7 +211,7 @@ void KNutMainWindow::setConfig (unsigned int changeSetting) { m_areaPalette.setColor(TQPalette::Inactive,TQColorGroup::Background,m_settingData->mainBackgroundColor); m_area->setPalette (m_areaPalette); m_panelMeter->setPalette (m_areaPalette); - tqrepaint(); + repaint(); } } @@ -456,7 +456,7 @@ void KNutMainWindow::showUpsData (void) { m_panelMeter->setSize(true); //qDebug ("KNutMainWindow::showUpsData 3"); m_mainSplit->refresh(); - // doesn't tqrepaint analog pointers, because pointers will be repainted twice + // doesn't repaint analog pointers, because pointers will be repainted twice //qDebug ("KNutMainWindow::showUpsData 4"); // repaintAnalogs(false); // don't make this //qDebug ("KNutMainWindow::showUpsData 5"); |