blob: ad8c73d9bcdbcc51d588bbf6335ca5e828b0c777 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/gui/utils.cpp.old Sun Oct 17 00:13:41 2004
+++ src/gui/utils.cpp Sun Oct 17 00:14:26 2004
@@ -218,7 +218,7 @@
int sn1 = file.findRev('/',-1);
int sn2 = file.findRev('\\',-1);
int sn = (sn1>=0)?sn1:sn2;
- QString dir = (sn<0) ? "./" : file.left( sn );
+ QString dir = (sn<0) ? QString("./") : file.left( sn );
#ifdef _WIN32
/* on windows, if directory is in the root of the drive (like "c:"),
|