]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/pages.cpp
Make qt-console compatible to Qt5 (Qt4 still work)
[bacula/bacula] / bacula / src / qt-console / pages.cpp
index 05713da4ba7c993ead526c24adf504beeb9d1348..0866817feaea9b963301c34fb2688262d4cdbcc4 100644 (file)
@@ -30,7 +30,7 @@ bool isWin32Path(QString &fullPath)
       return false;
    }
 
-   bool toret = fullPath[1].toAscii() == ':' && fullPath[0].isLetter();
+   bool toret = fullPath[1].toLatin1() == ':' && fullPath[0].isLetter();
    if (mainWin->m_miscDebug) {
       if (toret)
          Pmsg1(000, "returning from isWin32Path true %s\n", fullPath.toUtf8().data());