mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:13:24 +00:00
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:
parent
f682a2e6ac
commit
c1b2907071
3 changed files with 7 additions and 3 deletions
|
@ -142,7 +142,6 @@
|
|||
<string>Share on</string>
|
||||
</property>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionFacebook"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menu_Edit"/>
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue