Removed remaining occurences of Q_WS_*

preferencesAboutTextFull
Craig Watson 8 years ago
parent 6593b22e5e
commit b1c2d010c1
  1. 8
      src/core/UBApplicationController.cpp
  2. 2
      src/frameworks/UBFileSystemUtils.cpp

@ -67,7 +67,7 @@
#ifdef Q_WS_MAC #ifdef Q_OS_MAC
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#endif #endif
@ -121,12 +121,6 @@ UBApplicationController::UBApplicationController(UBBoardView *pControlView,
networkAccessManager = new QNetworkAccessManager (this); networkAccessManager = new QNetworkAccessManager (this);
QTimer::singleShot (1000, this, SLOT (checkAtLaunch())); QTimer::singleShot (1000, this, SLOT (checkAtLaunch()));
#ifdef Q_WS_X11
mMainWindow->setStyleSheet("QToolButton { font-size: 11px}");
#endif
} }

@ -57,7 +57,7 @@ UBFileSystemUtils::~UBFileSystemUtils()
QString UBFileSystemUtils::removeLocalFilePrefix(QString input) QString UBFileSystemUtils::removeLocalFilePrefix(QString input)
{ {
#ifdef Q_WS_WIN #ifdef Q_OS_WIN
if(input.startsWith("file:///")) if(input.startsWith("file:///"))
return input.mid(8); return input.mid(8);
else else

Loading…
Cancel
Save