Replace #warning with #pragma message.

MSVC doesn't have #warning.
This commit is contained in:
Nicolás Alvarez 2014-08-30 14:46:11 -03:00
parent 8515d0ef09
commit 123d5a6d8b

View File

@ -618,7 +618,7 @@ void PlasmaPkgPrivate::listTypes()
foreach (const QString &file, desktopFiles) {
// extract the type
KConfig config(file, KConfig::SimpleConfig);
#warning "read config here"
#pragma message("read config here")
// structure.read(&config);
// get the name based on the rc file name, just as Plasma::PackageStructure does
const QString name = file.left(file.length() - 2);