"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/testutils/testutils.cpp" between
ownCloud-2.9.0.5150.tar.xz and ownCloud-2.9.1.5500.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

testutils.cpp  (ownCloud-2.9.0.5150.tar.xz):testutils.cpp  (ownCloud-2.9.1.5500.tar.xz)
skipping to change at line 50 skipping to change at line 50
{ {
OCC::FolderDefinition d; OCC::FolderDefinition d;
d.localPath = path; d.localPath = path;
d.targetPath = path; d.targetPath = path;
d.alias = path; d.alias = path;
return d; return d;
} }
FolderMan *folderMan() FolderMan *folderMan()
{ {
static FolderMan *man = [] { static QPointer<FolderMan> man;
auto man = new FolderMan; if (!man) {
man = new FolderMan;
QObject::connect(QCoreApplication::instance(), &QCoreApplication::ab outToQuit, man, &FolderMan::deleteLater); QObject::connect(QCoreApplication::instance(), &QCoreApplication::ab outToQuit, man, &FolderMan::deleteLater);
return man; };
}();
return man; return man;
} }
} }
} }
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)