This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Alexandre Possebom

By: a guest on May 2nd, 2010  |  syntax: C++  |  size: 1.12 KB  |  views: 101  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/applet/countrymap.cpp b/applet/countrymap.cpp
  2. index 261d457..cc28221 100644
  3. --- a/applet/countrymap.cpp
  4. +++ b/applet/countrymap.cpp
  5. @@ -47,7 +47,7 @@ QPointer<UsStatesMap>   UsStatesMap::m_pInstance = NULL;
  6.  const QString CountryMap::sFlagTemplate("l10n/%1/flag.png");
  7.  
  8.  
  9. -CountryMap::CountryMap *
  10. +CountryMap *
  11.  CountryMap::instance()
  12.  {
  13.         QMutexLocker locker( &singeltonMutex );
  14. @@ -210,7 +210,7 @@ CountryMap::private_getPixmapForCountryCode( const QString & countryCode ) const
  15.  
  16.  /******************************************************************************/
  17.  
  18. -UsStatesMap::UsStatesMap *
  19. +UsStatesMap *
  20.  UsStatesMap::instance()
  21.  {
  22.         QMutexLocker locker( &singeltonMutex );
  23. diff --git a/applet/ionlistmodel.cpp b/applet/ionlistmodel.cpp
  24. index 3809af3..c418736 100644
  25. --- a/applet/ionlistmodel.cpp
  26. +++ b/applet/ionlistmodel.cpp
  27. @@ -45,7 +45,7 @@ IonListModel::init( QObject * parent, const Plasma::DataEngine * engine )
  28.         return bReturnVal;
  29.  }
  30.  
  31. -IonListModel::IonListModel *
  32. +IonListModel *
  33.  IonListModel::instance()
  34.  {
  35.         QMutexLocker locker( &m_singeltonMutex );
clone this paste RAW Paste Data