diff options
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 2 | ||||
-rw-r--r-- | rbutil/rbutilqt/systrace.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 066b9d7db7..6abbc06afd 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp | |||
@@ -171,7 +171,7 @@ void Config::accept() | |||
171 | errormsg += "<li>" + tr("No mountpoint given") + "</li>"; | 171 | errormsg += "<li>" + tr("No mountpoint given") + "</li>"; |
172 | error = true; | 172 | error = true; |
173 | } | 173 | } |
174 | else if(!QFileInfo(mountpoint).exists()) { | 174 | else if(!QFileInfo::exists(mountpoint)) { |
175 | errormsg += "<li>" + tr("Mountpoint does not exist") + "</li>"; | 175 | errormsg += "<li>" + tr("Mountpoint does not exist") + "</li>"; |
176 | error = true; | 176 | error = true; |
177 | } | 177 | } |
diff --git a/rbutil/rbutilqt/systrace.cpp b/rbutil/rbutilqt/systrace.cpp index 5f3450eae8..ba7f1e30e3 100644 --- a/rbutil/rbutilqt/systrace.cpp +++ b/rbutil/rbutilqt/systrace.cpp | |||
@@ -120,7 +120,7 @@ void SysTrace::savePreviousTrace(void) | |||
120 | void SysTrace::rotateTrace(void) | 120 | void SysTrace::rotateTrace(void) |
121 | { | 121 | { |
122 | QString f = QDir::tempPath() + "/rbutil-trace.log.1"; | 122 | QString f = QDir::tempPath() + "/rbutil-trace.log.1"; |
123 | if(QFileInfo(f).exists()) { | 123 | if(QFileInfo::exists(f)) { |
124 | QFile::remove(f); | 124 | QFile::remove(f); |
125 | } | 125 | } |
126 | QFile::rename(QDir::tempPath() + "/rbutil-trace.log", f); | 126 | QFile::rename(QDir::tempPath() + "/rbutil-trace.log", f); |