Fix build on Windows (blindly)

This commit is contained in:
Mike Gelfand 2015-01-29 22:10:00 +00:00
parent d96ef13a89
commit 49e16e64a6
2 changed files with 2 additions and 3 deletions

View File

@ -563,7 +563,7 @@ TrMainWindow::setLocation ()
static
void openSelect (const QString& path)
{
const QString explorer = "explorer";
const QString explorer = QLatin1String ("explorer");
QString param;
if (!QFileInfo (path).isDir ())
param = QLatin1String ("/select,");

View File

@ -50,7 +50,7 @@ namespace
{
QString const pixmapCacheKey = QLatin1String ("tr_file_ext_")
+ QString::number (iconSize)
+ "_"
+ QLatin1Char ('_')
+ fileInfo.suffix ();
QPixmap pixmap;
@ -83,7 +83,6 @@ namespace
} // namespace
#endif
#include <QDebug>
QIcon
Utils::guessMimeIcon (const QString& filename)
{