Fix warnings

Also, disable Facebook temporarely since I'm removing the preferences
widget in a few commits. Facebook will have to change to use a new
way of connection that I'm still creating.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-10-09 18:11:18 -03:00 committed by Dirk Hohndel
parent f682a2e6ac
commit c1b2907071
3 changed files with 7 additions and 3 deletions

View file

@ -142,7 +142,6 @@
<string>Share on</string>
</property>
<addaction name="separator"/>
<addaction name="actionFacebook"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menu_Edit"/>

View file

@ -142,6 +142,8 @@ void PreferencesDialog::buttonClicked(QAbstractButton *button)
}
#undef SB
#if 0
// TODO: Copy this later.
void PreferencesDialog::on_resetSettings_clicked()
{
QSettings s;
@ -163,6 +165,7 @@ void PreferencesDialog::on_resetSettings_clicked()
close();
}
}
#endif
void PreferencesDialog::emitSettingsChanged()
{

View file

@ -9,17 +9,19 @@ namespace Ui {
class PreferencesNetwork : public AbstractPreferencesWidget {
Q_OBJECT
public:
PreferencesNetwork();
virtual ~PreferencesNetwork();
virtual void refreshSettings();
virtual void syncSettings();
public slots:
void proxyType_changed(int i);
private:
Ui::PreferencesNetwork *ui;
void cloudPinNeeded();
void proxyType_changed(int i);
void passwordUpdateSuccessfull();
};