[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore
From:       Patrick von Reth <patrick.vonreth () gmail ! com>
Date:       2010-12-13 14:26:54
Message-ID: 20101213142654.A23C3AC8A7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1206137 by vonreth:

compile fixes for mingw

 M  +1 -1      localization/kcatalog.cpp  
 M  +1 -1      util/kde_file_win.cpp  


--- trunk/KDE/kdelibs/kdecore/localization/kcatalog.cpp #1206136:1206137
@@ -169,7 +169,7 @@
   return QFile::decodeName(d->localeDir);
 }
 
-#ifdef _MSC_VER
+#ifdef Q_WS_WIN
   extern "C" int __declspec(dllimport) _nl_msg_cat_cntr;
 #endif
 
--- trunk/KDE/kdelibs/kdecore/util/kde_file_win.cpp #1206136:1206137
@@ -83,7 +83,7 @@
   int value;
 
   if ( !_template.endsWith(QLatin1String("XXXXXX")) )
-      return 0;
+      return QString();
 
   strcpy(XXXXXX, "XXXXXX");
   const QString tmpl = _template.left(_template.length() - 6);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic