changeset 278:f12718986d31

Rename button -> label.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Apr 2023 13:41:32 +0300
parents d666f0bf5245
children 770d1ea07a49
files src/main.cpp src/mainwindow.ui
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp	Tue Apr 18 13:26:17 2023 +0300
+++ b/src/main.cpp	Tue Apr 18 13:41:32 2023 +0300
@@ -269,8 +269,8 @@
 
     // Setup large logo in the main window
     QPixmap logoImage(":/logo");
-    ui->button_LogoImage->setPixmap(logoImage);
-    ui->button_LogoImage->setAlignment(Qt::AlignCenter);
+    ui->label_LogoImage->setPixmap(logoImage);
+    ui->label_LogoImage->setAlignment(Qt::AlignCenter);
 
     slSetCommonStyleSheet(this);
 
--- a/src/mainwindow.ui	Tue Apr 18 13:26:17 2023 +0300
+++ b/src/mainwindow.ui	Tue Apr 18 13:41:32 2023 +0300
@@ -281,7 +281,7 @@
        </widget>
       </item>
       <item>
-       <widget class="QLabel" name="button_LogoImage">
+       <widget class="QLabel" name="label_LogoImage">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>