]> Some of my projects - aniplayer-old.git/commitdiff
- Fix compile errors
authorunknown <Marek@.(none)>
Sat, 28 Mar 2009 13:42:48 +0000 (14:42 +0100)
committerunknown <Marek@.(none)>
Sat, 28 Mar 2009 13:42:48 +0000 (14:42 +0100)
src/episodevotedialog.cpp
src/episodevotedialog.ui

index ed09847237f8e903eae140d4e44d2b31f0b4d210..07be7268bc630c4a79ae66996eb817f09f9eb0ed 100644 (file)
@@ -15,7 +15,7 @@ EpisodeVoteDialog::~EpisodeVoteDialog()
 
 int EpisodeVoteDialog::vote() const
 {
-       return qBound(1, int(tm_ui->vote.value() * 10.0), 100);
+       return qBound(1, int(m_ui->vote->value() * 10.0), 100);
 }
 
 void EpisodeVoteDialog::setVote(int value)
index 72c37ea98e9f30218ca25750f3797c84ec64fe26..4373acf6a1aebb92b0d9b156322131b34931fb1a 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>134</width>
-    <height>65</height>
+    <width>178</width>
+    <height>71</height>
    </rect>
   </property>
   <property name="windowTitle">
         <string>Vote:</string>
        </property>
        <property name="buddy">
-        <cstring>doubleSpinBox</cstring>
+        <cstring>vote</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
-      <widget class="QDoubleSpinBox" name="doubleSpinBox">
+      <widget class="QDoubleSpinBox" name="vote">
        <property name="minimum">
         <double>1.000000000000000</double>
        </property>
@@ -57,7 +57,7 @@
   </layout>
  </widget>
  <tabstops>
-  <tabstop>doubleSpinBox</tabstop>
+  <tabstop>vote</tabstop>
   <tabstop>buttonBox</tabstop>
  </tabstops>
  <resources/>