Make compile without webkit again
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 7 Aug 2009 08:06:08 +0000 (10:06 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 7 Aug 2009 08:06:08 +0000 (10:06 +0200)
src/qtui/settingspages/appearancesettingspage.cpp
src/qtui/settingspages/chatviewsettingspage.cpp
src/qtui/settingspages/chatviewsettingspage.ui

index 8ab7ce3..70cae91 100644 (file)
@@ -43,11 +43,6 @@ AppearanceSettingsPage::AppearanceSettingsPage(QWidget *parent)
   initStyleComboBox();
   initLanguageComboBox();
 
   initStyleComboBox();
   initLanguageComboBox();
 
-#ifndef HAVE_WEBKIT
-  ui.showWebPreview->hide();
-  ui.showWebPreview->setEnabled(false);
-#endif
-
   foreach(QComboBox *comboBox, findChildren<QComboBox *>()) {
     connect(comboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(widgetHasChanged()));
   }
   foreach(QComboBox *comboBox, findChildren<QComboBox *>()) {
     connect(comboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(widgetHasChanged()));
   }
index f9c2643..e2331a6 100644 (file)
@@ -28,6 +28,11 @@ ChatViewSettingsPage::ChatViewSettingsPage(QWidget *parent)
 {
   ui.setupUi(this);
 
 {
   ui.setupUi(this);
 
+#ifndef HAVE_WEBKIT
+  ui.showWebPreview->hide();
+  ui.showWebPreview->setEnabled(false);
+#endif
+
   initAutoWidgets();
 }
 
   initAutoWidgets();
 }
 
index 1bbe072..625896c 100644 (file)
     </widget>
    </item>
    <item>
     </widget>
    </item>
    <item>
-    <widget class="QCheckBox" name="showWebPreview_2">
+    <widget class="QCheckBox" name="showWebPreview">
      <property name="toolTip">
       <string>Show a website preview window when hovering the mouse over a web address</string>
      </property>
      <property name="toolTip">
       <string>Show a website preview window when hovering the mouse over a web address</string>
      </property>
  <tabstops>
   <tabstop>timestampFormat</tabstop>
   <tabstop>allowMircColors</tabstop>
  <tabstops>
   <tabstop>timestampFormat</tabstop>
   <tabstop>allowMircColors</tabstop>
-  <tabstop>showWebPreview_2</tabstop>
+  <tabstop>showWebPreview</tabstop>
   <tabstop>useCustomColors</tabstop>
   <tabstop>actionMsgColor</tabstop>
   <tabstop>channelMsgColor</tabstop>
   <tabstop>useCustomColors</tabstop>
   <tabstop>actionMsgColor</tabstop>
   <tabstop>channelMsgColor</tabstop>