Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /convert-presets/convert-presets.cpp [e8cdcd] .. [c240f3] Maximize Restore

  Switch to side-by-side view

--- a/convert-presets/convert-presets.cpp
+++ b/convert-presets/convert-presets.cpp
@@ -53,7 +53,7 @@
 
     QFile presetFile (file);
 
-    if (! presetFile.open(IO_ReadOnly)) {
+    if (! presetFile.open(QIODevice::ReadOnly)) {
         kDebug() << "convertFile: error opening preset file" << file << "for reading";
         return false;
     }
@@ -131,7 +131,7 @@
     // write output
     ////////////////////////////////////////////////////////////////////////
 
-    if (! presetFile.open(IO_WriteOnly)) {
+    if (! presetFile.open(QIODevice::WriteOnly)) {
         kDebug() << "convertFile: error opening preset file" << file << "for writing";
        return false;
     }