Changeset 417:4beaee145ff7 in SMSSender


Ignore:
Timestamp:
May 8, 2014 4:09:09 PM (5 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
default
Graft:
37613637366635306130306466316364353035303432313730386330316539666162316664373336
Message:
  • Fixes static initialization problems.
Location:
frontend/gui/ui/importcontacts/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/ui/importcontacts/pages/google_page_config.cpp

    r405 r416  
    3030namespace GCI {
    3131
    32 namespace {
    33 static const QSet<QString> kRequiredScopes = QStringList(
    34                 { OAuth2::Scope::Contacts, OAuth2::Scope::Plus::Me }
    35             ).toSet();
    36 } // namespace
    37 
    3832PageConfig::PageConfig(OAuth2::AccessToken *accessToken,
    3933                       Persistence::IMainStorage *mainStorage)
    4034    : QWizardPage()
     35    , kRequiredScopes(QSet<QString>() << OAuth2::Scope::Contacts
     36                                      << OAuth2::Scope::Plus::Me)
    4137    , m_accessToken(accessToken)
    4238
  • frontend/gui/ui/importcontacts/pages/google_page_config.h

    r405 r416  
    6262    void showUrlToUser(const QString &url);
    6363
     64    const QSet<QString> kRequiredScopes;
    6465    ::GCI::Ui::PageConfigClass ui;
    6566
Note: See TracChangeset for help on using the changeset viewer.