1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

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 static
void openSelect (const QString& path) void openSelect (const QString& path)
{ {
const QString explorer = "explorer"; const QString explorer = QLatin1String ("explorer");
QString param; QString param;
if (!QFileInfo (path).isDir ()) if (!QFileInfo (path).isDir ())
param = QLatin1String ("/select,"); param = QLatin1String ("/select,");

View file

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