summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
index 76ae63689..f8e2d6b62 100644
--- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
+++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp
@@ -185,9 +185,9 @@ void FacebookManager::sendDive()
ProfileWidget2 *profile = MainWindow::instance()->graphics();
- QSize size = dialog.profileSize() == SocialNetworkDialog::SMALL ? QSize(800,600) :
- dialog.profileSize() == SocialNetworkDialog::MEDIUM ? QSize(1024,760) :
- dialog.profileSize() == SocialNetworkDialog::BIG ? QSize(1280,1024) : QSize();
+ QSize size = dialog.profileSize() == FacebookInfo::SMALL ? QSize(800,600) :
+ dialog.profileSize() == FacebookInfo::MEDIUM ? QSize(1024,760) :
+ dialog.profileSize() == FacebookInfo::BIG ? QSize(1280,1024) : QSize();
auto currSize = profile->size();
profile->resize(size);
@@ -315,12 +315,12 @@ SocialNetworkDialog::SocialNetworkDialog(QWidget *parent) :
connect(ui->album, &QLineEdit::editingFinished, this, &SocialNetworkDialog::albumChanged);
}
-SocialNetworkDialog::Size SocialNetworkDialog::profileSize() const
+FacebookInfo::Size SocialNetworkDialog::profileSize() const
{
QString currText = ui->profileSize->currentText();
- return currText.startsWith(tr("Small")) ? SMALL :
- currText.startsWith(tr("Medium")) ? MEDIUM :
- /* currText.startsWith(tr("Big")) ? */ BIG;
+ return currText.startsWith(tr("Small")) ? FacebookInfo::SMALL :
+ currText.startsWith(tr("Medium")) ? FacebookInfo::MEDIUM :
+ /* currText.startsWith(tr("Big")) ? */ FacebookInfo::BIG;
}